[llvm-bugs] [Bug 34619] New: Instruction does not dominate all uses!

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 15 01:41:13 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34619

            Bug ID: 34619
           Summary: Instruction does not dominate all uses!
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19158
  --> https://bugs.llvm.org/attachment.cgi?id=19158&action=edit
reduced testcase

It seems that trunk at 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!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170915/94072837/attachment.html>


More information about the llvm-bugs mailing list