[llvm] r191489 - Switch HasAVX to UseAVX in one spot to ensure that AVX512 form of VINSERTPS is used in AVX512 mode.
Craig Topper
craig.topper at gmail.com
Fri Sep 27 00:16:24 PDT 2013
Author: ctopper
Date: Fri Sep 27 02:16:24 2013
New Revision: 191489
URL: http://llvm.org/viewvc/llvm-project?rev=191489&view=rev
Log:
Switch HasAVX to UseAVX in one spot to ensure that AVX512 form of VINSERTPS is used in AVX512 mode.
Modified:
llvm/trunk/lib/Target/X86/X86InstrSSE.td
Modified: llvm/trunk/lib/Target/X86/X86InstrSSE.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrSSE.td?rev=191489&r1=191488&r2=191489&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSSE.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrSSE.td Fri Sep 27 02:16:24 2013
@@ -6299,7 +6299,7 @@ multiclass SS41I_insertf32<bits<8> opc,
}
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>;
More information about the llvm-commits
mailing list