[llvm-commits] [llvm] r105449 - /llvm/trunk/test/CodeGen/ARM/call.ll
Dale Johannesen
dalej at apple.com
Thu Jun 3 18:01:05 PDT 2010
Author: johannes
Date: Thu Jun 3 20:01:04 2010
New Revision: 105449
URL: http://llvm.org/viewvc/llvm-project?rev=105449&view=rev
Log:
Remove a tail call, and move some CHECKs to the
functions where they belong.
Modified:
llvm/trunk/test/CodeGen/ARM/call.ll
Modified: llvm/trunk/test/CodeGen/ARM/call.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/call.ll?rev=105449&r1=105448&r2=105449&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/call.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/call.ll Thu Jun 3 20:01:04 2010
@@ -8,16 +8,16 @@
declare void @g(i32, i32, i32, i32)
define void @f() {
-; CHECKV4: mov lr, pc
-; CHECKV5: blx
; CHECKELF: PLT
call void @g( i32 1, i32 2, i32 3, i32 4 )
ret void
}
define void @g.upgrd.1() {
+; CHECKV4: mov lr, pc
+; CHECKV5: blx
%tmp = load i32 ()** @t ; <i32 ()*> [#uses=1]
- %tmp.upgrd.2 = tail call i32 %tmp( ) ; <i32> [#uses=0]
+ %tmp.upgrd.2 = call i32 %tmp( ) ; <i32> [#uses=0]
ret void
}
More information about the llvm-commits
mailing list