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

Duncan Sands <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID

--- Comment #2 from Duncan Sands <[email protected]> 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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to