Fix PR8612 in the standard spiller, take two.
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-call.ll
index 5265ea6b5dd1c431d1d87aa075c25d6cb0022ef3..8513cfb404ced144ef97a7ce10c7673a34847842 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin -mattr=+thumb2 | FileCheck %s -check-prefix=DARWIN
-; RUN: llvm-as < %s | llc -mtriple=thumbv7-linux -mattr=+thumb2 | FileCheck %s -check-prefix=LINUX
+; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mattr=+thumb2 | FileCheck %s -check-prefix=DARWIN
+; RUN: llc < %s -mtriple=thumbv7-linux -mattr=+thumb2 | FileCheck %s -check-prefix=LINUX
 
 @t = weak global i32 ()* null           ; <i32 ()**> [#uses=1]
 
@@ -22,6 +22,6 @@ define void @h() {
 ; LINUX: h:
 ; LINUX: blx r0
         %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
 }