Revert 93158. It's breaking quite a few x86_64 tests.
[oota-llvm.git] / test / CodeGen / X86 / 2007-07-03-GR64ToVR64.ll
index a730fa94e6c6daaef83ca93f955a48207698aa11..2c513f17811a79aaf5523db340ba216ab33e42d6 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+mmx | grep {movd       %rsi, %mm0} &&
-; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+mmx | grep {movd       %rdi, %mm1} &&
-; RUN: llvm-as < %s | llc -march=x86-64 -mattr=+mmx | grep {paddusw    %mm0, %mm1}
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd  %rsi, %mm0}
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd  %rdi, %mm1}
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {paddusw       %mm0, %mm1}
 
 @R = external global <1 x i64>         ; <<1 x i64>*> [#uses=1]
 
-define void @foo(<1 x i64> %A, <1 x i64> %B) {
+define void @foo(<1 x i64> %A, <1 x i64> %B) nounwind {
 entry:
        %tmp4 = bitcast <1 x i64> %B to <4 x i16>               ; <<4 x i16>> [#uses=1]
        %tmp6 = bitcast <1 x i64> %A to <4 x i16>               ; <<4 x i16>> [#uses=1]