[llvm-bugs] [Bug 37650] New: "Instruction does not dominate all uses" with opt -disable-basicaa -loop-versioning

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jun 1 00:13:35 PDT 2018


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

            Bug ID: 37650
           Summary: "Instruction does not dominate all uses" with opt
                    -disable-basicaa -loop-versioning
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mikael.holmen at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20380
  --> https://bugs.llvm.org/attachment.cgi?id=20380&action=edit
reproducer

opt -S -o - bbi-14805.ll -disable-basicaa -loop-versioning

gives

Instruction does not dominate all uses!
  %inc = add nsw i16 undef, 1
  store i16 %inc, i16* @c, align 1
LLVM ERROR: Broken function found, compilation aborted!

Found when running random passes/flags on random input. We don't normally use
-disable-basicaa -loop-versioning.

This happens also with some old opt binary built in Nov 2016.

-- 
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/20180601/374f07b0/attachment.html>


More information about the llvm-bugs mailing list