summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-08-10 16:47:47 +0000
committerSanjay Patel <spatel@rotateright.com>2015-08-10 16:47:47 +0000
commit68b0325a9ee925f42fa2c12a01a015e6cc30a21c (patch)
treee50e5c868049b6a2f7eabeb2fe0b854ac98d3d0c /llvm/test/CodeGen
parentd6c30160e72421517bbc0be1df4a39744628bfe5 (diff)
downloadbcm5719-llvm-68b0325a9ee925f42fa2c12a01a015e6cc30a21c.tar.gz
bcm5719-llvm-68b0325a9ee925f42fa2c12a01a015e6cc30a21c.zip
fix minsize detection: minsize attribute implies optimizing for size
llvm-svn: 244460
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/splat-for-size.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/splat-for-size.ll b/llvm/test/CodeGen/X86/splat-for-size.ll
index 916410a6244..6469786d879 100644
--- a/llvm/test/CodeGen/X86/splat-for-size.ll
+++ b/llvm/test/CodeGen/X86/splat-for-size.ll
@@ -43,7 +43,7 @@ define <8 x float> @splat_v8f32(<8 x float> %x) #1 {
; AVX can't do integer splats, so fake it: use vmovddup to splat 64-bit value.
; We also generate vmovddup for AVX2 because it's one byte smaller than vpbroadcastq.
-define <2 x i64> @splat_v2i64(<2 x i64> %x) #0 {
+define <2 x i64> @splat_v2i64(<2 x i64> %x) #1 {
%add = add <2 x i64> %x, <i64 1, i64 1>
ret <2 x i64> %add
; CHECK-LABEL: splat_v2i64
OpenPOWER on IntegriCloud