[LLVMbugs] [Bug 11064] Duplicate store instructions

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 5 01:36:49 PDT 2011


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

Duncan Sands <baldrick at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |baldrick at free.fr
         Resolution|                            |INVALID

--- Comment #2 from Duncan Sands <baldrick at free.fr> 2011-10-05 03:36:44 CDT ---
llc expects the IR level optimizers to have been run first.  It doesn't do IR
level optimization itself, it only does codegen level optimizations.  If you
run "opt -std-compile-opts" on your LLVM IR and run llc on the result then the
problematic code is no longer there, because the IR level optimizations that
opt runs eliminate the duplicate getelementptr instructions and stores.

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