Fix test.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 5 Feb 2010 06:37:00 +0000 (06:37 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 5 Feb 2010 06:37:00 +0000 (06:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95373 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/call-push.ll

index 7bae5cd2464d5a53c043cb1515067295a750b2bf..81516c1c594e5d18f1f1635dc0edea8f17887a8d 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llc < %s -march=x86 -disable-fp-elim | grep subl | count 1
+; RUN: llc < %s -mtriple=i386-apple-darwin -disable-fp-elim | grep subl | count 1
 
         %struct.decode_t = type { i8, i8, i8, i8, i16, i8, i8, %struct.range_t** }
         %struct.range_t = type { float, float, i32, i32, i32, [0 x i8] }
 
-define i32 @decode_byte(%struct.decode_t* %decode) {
+define i32 @decode_byte(%struct.decode_t* %decode) nounwind {
 entry:
         %tmp2 = getelementptr %struct.decode_t* %decode, i32 0, i32 4           ; <i16*> [#uses=1]
         %tmp23 = bitcast i16* %tmp2 to i32*             ; <i32*> [#uses=1]