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

Pekka Jääskeläinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #6 from Pekka Jääskeläinen <[email protected]> 2010-05-17 
09:50:29 CDT ---
(In reply to comment #5)
> Does it work for you with trunk?

Yes:


clang test2.c -c -emit-llvm -o - | llvm-dis
...
define i32 @foo(i8* noalias %s) nounwind {
entry:
  %retval = alloca i32, align 4                   ; <i32*> [#uses=2]
  %s.addr = alloca i8*, align 8                   ; <i8**> [#uses=1]
  store i8* %s, i8** %s.addr
  store i32 0, i32* %retval
  %0 = load i32* %retval                          ; <i32> [#uses=1]
  ret i32 %0
}

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