Revert r63999. It was breaking self-hosting builds.
[oota-llvm.git] / test / CodeGen / X86 / 2007-07-03-GR64ToVR64.ll
index 4c39747e910cf147d3c2c73f0ba53f1359bc351b..18850b135ccf57dc74e8a2a80327d976e100e8ab 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: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd        %rsi, %mm0}
+; RUN: llvm-as < %s | llc -mtriple=x86_64-apple-darwin -mattr=+mmx | grep {movd        %rdi, %mm1}
+; RUN: llvm-as < %s | llc -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]