[llvm-bugs] [Bug 27462] New: SROA changes the value name when nothing else has changed

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 21 15:48:34 PDT 2016


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

            Bug ID: 27462
           Summary: SROA changes the value name when nothing else has
                    changed
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: nwilson20 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I run opt with the attached IR, bugpoint-reduced-simplified.ll, and the flags
-basicaa -sroa -S outputting the IR to a file, output1.ll.

I then use the output1.ll as input to opt again with the same flags (-basicaa
-sroa -S) and redirect the output to output2.ll.

The only difference is the value names:
$ diff output1.ll output2.ll
1c1
< ; ModuleID = 'bugpoint-reduced-simplified.ll'
---
> ; ModuleID = 'output1.ll'
369,370c369,370
<   %.0..sroa_cast = bitcast %struct.Vdbe.70.195.1240* %1 to i8*
<   call void @llvm.lifetime.end(i64 488, i8* %.0..sroa_cast)
---
>   %.0..0..sroa_cast = bitcast %struct.Vdbe.70.195.1240* %1 to i8*
>   call void @llvm.lifetime.end(i64 488, i8* %.0..0..sroa_cast)

-- 
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/20160421/dfef761b/attachment.html>


More information about the llvm-bugs mailing list