Skip to content

Instruction does not dominate all uses! #33967

@JonPsson

Description

@JonPsson
Bugzilla Link 34619
Resolution FIXED
Resolved on Sep 16, 2017 07:50
Version trunk
OS Linux
Blocks #30135
Attachments reduced testcase
CC @alexey-bataev,@dtemirbulatov,@hfinkel,@RKSimon,@JonPsson,@uweigand

Extended Description

It seems that trunk@313348 showed up in a git bisect for the following crash with opt:

bin/opt -S -O3 -mtriple=systemz-unknown -mcpu=z13 tc_domuses.ll -o out.ll
Instruction does not dominate all uses!
%10 = load i32, i32* getelementptr inbounds ([4 x [4 x i32]], [4 x [4 x i32]]* @​dct_luma.m4, i64 0, i64 3, i64 0), align 4, !tbaa !​1
%3 = insertelement <4 x i32> undef, i32 %10, i32 0
Instruction does not dominate all uses!
%11 = load i32, i32* getelementptr inbounds ([4 x [4 x i32]], [4 x [4 x i32]]* @​dct_luma.m4, i64 0, i64 3, i64 2), align 4, !tbaa !​1
%5 = insertelement <4 x i32> %4, i32 %11, i32 2
Instruction does not dominate all uses!
%12 = load i32, i32* getelementptr inbounds ([4 x [4 x i32]], [4 x [4 x i32]]* @​dct_luma.m4, i64 0, i64 3, i64 3), align 4, !tbaa !​1
%6 = insertelement <4 x i32> %5, i32 %12, i32 3
LLVM ERROR: Broken function found, compilation aborted!

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzilla

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions