aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86InstrSSE.td
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-09-27 07:16:24 +0000
committerCraig Topper <craig.topper@gmail.com>2013-09-27 07:16:24 +0000
commit1f31a3794ef01d51efa23b892e76565ac23f3029 (patch)
treea302fb5897ee054e3565909e7d9c563469c23d40 /lib/Target/X86/X86InstrSSE.td
parent11989c2685bfaa1ba639436292d067fb32eda990 (diff)
downloadexternal_llvm-1f31a3794ef01d51efa23b892e76565ac23f3029.zip
external_llvm-1f31a3794ef01d51efa23b892e76565ac23f3029.tar.gz
external_llvm-1f31a3794ef01d51efa23b892e76565ac23f3029.tar.bz2
Switch HasAVX to UseAVX in one spot to ensure that AVX512 form of VINSERTPS is used in AVX512 mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrSSE.td')
-rw-r--r--lib/Target/X86/X86InstrSSE.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td
index abc99f6..3d86549 100644
--- a/lib/Target/X86/X86InstrSSE.td
+++ b/lib/Target/X86/X86InstrSSE.td
@@ -6299,7 +6299,7 @@ multiclass SS41I_insertf32<bits<8> opc, string asm, bit Is2Addr = 1,
}
let ExeDomain = SSEPackedSingle in {
- let Predicates = [HasAVX] in
+ let Predicates = [UseAVX] in
defm VINSERTPS : SS41I_insertf32<0x21, "vinsertps", 0>, VEX_4V;
let Constraints = "$src1 = $dst" in
defm INSERTPS : SS41I_insertf32<0x21, "insertps", 1, SSE_INSERT_ITINS>;