[LLVMbugs] [Bug 7437] Address space not being correctly preserved

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 7 17:28:18 PDT 2010


Chris Lattner <clattner at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Chris Lattner <clattner at apple.com> 2010-07-07 19:28:18 CDT ---
Second half was a scalarrepl bug, fixed in r107846.  We now compile the example
to this:

define void @Test(%struct.anon addrspace(2)* nocapture %pPtr) nounwind ssp {
  %pPtr15.0 = getelementptr inbounds %struct.anon addrspace(2)* %pPtr, i64 0,
i32 0, i64 0 ; <float addrspace(2)*> [#uses=2]
  %tmp = load float addrspace(2)* %pPtr15.0, align 4 ; <float> [#uses=1]
  %sub = fadd float %tmp, -5.000000e+00           ; <float> [#uses=1]
  store float %sub, float addrspace(2)* %pPtr15.0, align 4
  ret void


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