[llvm-bugs] [Bug 28356] New: Bug in -indvars opt

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 29 05:37:01 PDT 2016


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

            Bug ID: 28356
           Summary: Bug in -indvars opt
           Product: new-bugs
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dana.mellanox at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

We produce a bc file from the attached c file (using clang). 
Following, we run opt with 2 different options:
1) -mem2reg
2)-mem2reg -indvars

The resulting bitcode files execute differently (using lli).
Option 1 is correct.
Option 2 is wrong.

Thanks

-- 
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/20160629/b98752e5/attachment.html>


More information about the llvm-bugs mailing list