[LLVMbugs] [Bug 7270] New: DSE wrongly eliminates store, related to byval

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 31 08:39:00 PDT 2010


           Summary: DSE wrongly eliminates store, related to byval
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: baldrick at free.fr
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=4955)
 --> (http://llvm.org/bugs/attachment.cgi?id=4955)
testcase .ll

This miscompilation occurs when building LLVM with dragonegg on x86-32.

Before running dse, the incoming parameters %arg1 and %arg2 are copied to
the locals %CS1 and %CS2, and then %CS1 and %CS2 are passed as the call
parameters to _ZN4llvm13AliasAnalysis13getModRefInfoENS_8CallSiteES1_.
After running "opt -dse", the copies are no longer made, and the uninitialized
values of %CS1 and %CS2 are passed instead.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list