diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-07-28 01:26:43 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-07-28 01:26:43 +0000 |
commit | a23236c360c06019721bf0ccb7a039d14d0d6114 (patch) | |
tree | ca455c84e058583ba337c89331184fc6e585c25b /test/CodeGen/X86/avx-cast.ll | |
parent | 2e64ae410172d937d8c82ef315458ccc6e213c0a (diff) | |
download | external_llvm-a23236c360c06019721bf0ccb7a039d14d0d6114.zip external_llvm-a23236c360c06019721bf0ccb7a039d14d0d6114.tar.gz external_llvm-a23236c360c06019721bf0ccb7a039d14d0d6114.tar.bz2 |
Add a few patterns to match allzeros without having to use the fp unit.
Take advantage that the 128-bit vpxor zeros the higher part and use it.
This also fixes PR10491
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/avx-cast.ll')
-rw-r--r-- | test/CodeGen/X86/avx-cast.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/avx-cast.ll b/test/CodeGen/X86/avx-cast.ll index e24cfeb..7e368b3 100644 --- a/test/CodeGen/X86/avx-cast.ll +++ b/test/CodeGen/X86/avx-cast.ll @@ -16,7 +16,7 @@ entry: ret <4 x double> %shuffle.i } -; CHECK: vxorps +; CHECK: vpxor ; CHECK-NEXT: vinsertf128 $0 define <4 x i64> @castC(<2 x i64> %m) nounwind uwtable readnone ssp { entry: |