diff options
Diffstat (limited to 'test/CodeGen/X86/vec_set-A.ll')
-rw-r--r-- | test/CodeGen/X86/vec_set-A.ll | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/test/CodeGen/X86/vec_set-A.ll b/test/CodeGen/X86/vec_set-A.ll index 92dda4c11b88..cae39a3d775b 100644 --- a/test/CodeGen/X86/vec_set-A.ll +++ b/test/CodeGen/X86/vec_set-A.ll @@ -1,7 +1,12 @@ -; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s -; CHECK: movl $1, %{{.*}} +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc < %s -mtriple=i386-unknown -mattr=+sse2 | FileCheck %s + define <2 x i64> @test1() nounwind { -entry: - ret <2 x i64> < i64 1, i64 0 > +; CHECK-LABEL: test1: +; CHECK: # BB#0: +; CHECK-NEXT: movl $1, %eax +; CHECK-NEXT: movd %eax, %xmm0 +; CHECK-NEXT: retl + ret <2 x i64> < i64 1, i64 0 > } |