summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2012-07-15-broadcastfold.ll
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-07-15 14:38:35 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-07-15 14:38:35 +0000
commita2a179dd7dd007a8589afea72b8722224986c3bd (patch)
tree1a41f1b5fe3c6222e7314b2fc0b267fa5709dd0b /test/CodeGen/X86/2012-07-15-broadcastfold.ll
parentaec9f382dd08799a9676f27fc7766a27897ab8b6 (diff)
downloadllvm-a2a179dd7dd007a8589afea72b8722224986c3bd.tar.gz
llvm-a2a179dd7dd007a8589afea72b8722224986c3bd.tar.bz2
llvm-a2a179dd7dd007a8589afea72b8722224986c3bd.tar.xz
llvm/test/CodeGen/X86/2012-07-15-broadcastfold.ll: Rewrite expressions to fit various targets.
- Make sure existence of "barrier". - Confirm reload corresponding to spill. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2012-07-15-broadcastfold.ll')
-rw-r--r--test/CodeGen/X86/2012-07-15-broadcastfold.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2012-07-15-broadcastfold.ll b/test/CodeGen/X86/2012-07-15-broadcastfold.ll
index 6a7bb63b88..3b7a8a7b87 100644
--- a/test/CodeGen/X86/2012-07-15-broadcastfold.ll
+++ b/test/CodeGen/X86/2012-07-15-broadcastfold.ll
@@ -3,7 +3,9 @@
declare x86_fastcallcc i64 @barrier()
;CHECK: bcast_fold
-;CHECK: vbroadcastss -24(%ebp), %ymm0 # 16-byte Folded Reload
+;CHECK: vmovaps %xmm{{[0-9]+}}, [[SPILLED:[^\)]+\)]]
+;CHECK: barrier
+;CHECK: vbroadcastss [[SPILLED]], %ymm0
;CHECK: ret
define <8 x float> @bcast_fold( float* %A) {
BB: