[LLVMbugs] [Bug 5285] sroa extracts wrong element

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Oct 24 22:51:14 PDT 2009


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


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #1 from Chris Lattner <clattner at apple.com>  2009-10-25 00:51:14 ---
SROA is doing the 'right' thing, yay for:

  %srcval1 = load i192* bitcast ([3 x %struct.c41301a__t1]* @C.0.170 to i192*),
align 8 ; <i192> [#uses=3]

The problem was the bug from PR5287 causing the load to get resolved wrong. 
This is fixed in mainline, thanks for the report!  We optimize this code all
away now at least :)

*** This bug has been marked as a duplicate of bug 5287 ***


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