aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/v4f32-immediate.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/v4f32-immediate.ll')
-rw-r--r--test/CodeGen/X86/v4f32-immediate.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/X86/v4f32-immediate.ll b/test/CodeGen/X86/v4f32-immediate.ll
new file mode 100644
index 0000000..67b5e79
--- /dev/null
+++ b/test/CodeGen/X86/v4f32-immediate.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse | grep movaps
+
+define <4 x float> @foo() {
+ ret <4 x float> <float 3.223542354, float 2.3, float 1.2, float 0.1>
+}