[llvm-bugs] [Bug 35710] New: Nary reassociation falls into infinite loop

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 20 13:26:23 PST 2017


            Bug ID: 35710
           Summary: Nary reassociation falls into infinite loop
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: evstupac at gmail.com
                CC: llvm-bugs at lists.llvm.org

For the following test:

; Function Attrs: norecurse nounwind readnone uwtable 
define i8 @foo(i8 %v) local_unnamed_addr #0 { 
  %0 = mul nsw i8 16, %v 
  %1 = mul nsw i8 0, %0 
  %2 = mul nsw i8 1, %1 
  ret i8 %2 

opt test.ll -nary-reassociate -S
falls into infinite loop

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/20171220/80804d53/attachment.html>

More information about the llvm-bugs mailing list