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: unassignedb...@nondot.org
          Reporter: mikael.hol...@ericsson.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to