diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-15 14:38:35 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-07-15 14:38:35 +0000 |
commit | a2a179dd7dd007a8589afea72b8722224986c3bd (patch) | |
tree | 1a41f1b5fe3c6222e7314b2fc0b267fa5709dd0b /test | |
parent | aec9f382dd08799a9676f27fc7766a27897ab8b6 (diff) | |
download | external_llvm-a2a179dd7dd007a8589afea72b8722224986c3bd.zip external_llvm-a2a179dd7dd007a8589afea72b8722224986c3bd.tar.gz external_llvm-a2a179dd7dd007a8589afea72b8722224986c3bd.tar.bz2 |
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')
-rw-r--r-- | test/CodeGen/X86/2012-07-15-broadcastfold.ll | 4 |
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 6a7bb63..3b7a8a7 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: |