[llvm-bugs] [Bug 48450] New: Simplify CFG pass generatres invalid IR when -bonus-inst-threshold=2
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Wed Dec  9 01:01:37 PST 2020
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=48450
            Bug ID: 48450
           Summary: Simplify CFG pass generatres invalid IR when
                    -bonus-inst-threshold=2
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: markus.lavin at ericsson.com
                CC: llvm-bugs at lists.llvm.org
Created attachment 24251
  --> https://bugs.llvm.org/attachment.cgi?id=24251&action=edit
Reproducer input.
opt -mcpu=phoenixIV -simplifycfg -bonus-inst-threshold=2 input.ll -S
-verify-each
Instruction does not dominate all uses!
  %dec = add nsw i16 %i.01, -1
  %i.01 = phi i16 [ %dec, %for.bodythread-pre-split ], [ 1, %entry ]
in function f
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/20201209/9d71a2d7/attachment.html>
    
    
More information about the llvm-bugs
mailing list