diff options
| author | Dale Johannesen <dalej@apple.com> | 2010-06-04 01:01:04 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2010-06-04 01:01:04 +0000 |
| commit | e7b392dca9498da80523c9c1fb5dad4bc25c8280 (patch) | |
| tree | 7085b2e5fa813e47306da9d29a222ce6fdc50841 | |
| parent | fd788405ac01d2b3a196756f292ad0ef0f5e7712 (diff) | |
| download | bcm5719-llvm-e7b392dca9498da80523c9c1fb5dad4bc25c8280.tar.gz bcm5719-llvm-e7b392dca9498da80523c9c1fb5dad4bc25c8280.zip | |
Remove a tail call, and move some CHECKs to the
functions where they belong.
llvm-svn: 105449
| -rw-r--r-- | llvm/test/CodeGen/ARM/call.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/call.ll b/llvm/test/CodeGen/ARM/call.ll index c60b75b574a..c020b6fbd24 100644 --- a/llvm/test/CodeGen/ARM/call.ll +++ b/llvm/test/CodeGen/ARM/call.ll @@ -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 } |

