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

            Bug ID: 24055
           Summary: Crash/assert in reassociate
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Transformation Utilities
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 14564
  --> https://llvm.org/bugs/attachment.cgi?id=14564&action=edit
The bugpointed test case

Assertion failed: (!Duplicates.count(Factor) && "Shouldn't have two constant
factors, missed a canonicalize"), function OptimizeAdd, file
../lib/Transforms/Scalar/Reassociate.cpp, line 1645.

Replicate with bin/opt -S -reassociate < test.ll

The bugpointed test case looks ridiculous, but it's reduced from a real test.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to