http://llvm.org/bugs/show_bug.cgi?id=19168

            Bug ID: 19168
           Summary: Compiler doesn't canonicalize truncates in SCEV
                    expresions.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 12246
  --> http://llvm.org/bugs/attachment.cgi?id=12246&action=edit
Reproducer

LLVM doesn't perform a canonicalization of trunc expressions, and due to that
round-trip of normalization-denormalization cant yield an expression, different
from the original one. Post-Inc transformation gives-up in this case.

Attached is a test case revealing the issue.

-- 
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