[llvm-bugs] [Bug 33731] New: [opt; GVN] input program causes "Instruction does not dominate uses" error

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 10 10:58:18 PDT 2017


            Bug ID: 33731
           Summary: [opt; GVN] input program causes "Instruction does not
                    dominate uses" error
           Product: new-bugs
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eric.schweitz at pgroup.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18772
  --> https://bugs.llvm.org/attachment.cgi?id=18772&action=edit
reproduce the instruction does not dominate uses bug

See the attached reproducer. To recreate the problem:

% opt -verify reduced.bc -o /dev/null
% opt -gvn reduced.bc -o /dev/null
Instruction does not dominate all uses!
  %.pre = sext i32 %1 to i64
  %6 = mul i64 %.pre, 4
LLVM ERROR: Broken function found, compilation aborted!

% opt -version
LLVM (http://llvm.org/):
  LLVM version 4.0.1
  DEBUG build with assertions.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: haswell

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/20170710/a2bfddf6/attachment.html>

More information about the llvm-bugs mailing list