From c90d906b16590c2a9838b6f9e8841045d24c8e90 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 2 Apr 2018 00:48:11 +0000 Subject: [PATCH] [X86] Give VINSERTPS the same intinerary as INSERTPS. llvm-svn: 328954 --- llvm/lib/Target/X86/X86InstrSSE.td | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/X86/X86InstrSSE.td b/llvm/lib/Target/X86/X86InstrSSE.td index 5001f11..986cdf8 100644 --- a/llvm/lib/Target/X86/X86InstrSSE.td +++ b/llvm/lib/Target/X86/X86InstrSSE.td @@ -5806,7 +5806,7 @@ let Constraints = "$src1 = $dst" in // vector. The next one matches the intrinsic and could zero arbitrary elements // in the target vector. multiclass SS41I_insertf32 opc, string asm, bit Is2Addr = 1, - OpndItins itins = DEFAULT_ITINS> { + OpndItins itins = SSE_INSERT_ITINS> { def rr : SS4AIi8 opc, string asm, bit Is2Addr = 1, let ExeDomain = SSEPackedSingle in { let Predicates = [UseAVX] in - defm VINSERTPS : SS41I_insertf32<0x21, "vinsertps", 0>, VEX_4V, VEX_WIG; + defm VINSERTPS : SS41I_insertf32<0x21, "vinsertps", 0>, + VEX_4V, VEX_WIG; let Constraints = "$src1 = $dst" in - defm INSERTPS : SS41I_insertf32<0x21, "insertps", 1, SSE_INSERT_ITINS>; + defm INSERTPS : SS41I_insertf32<0x21, "insertps", 1>; } let Predicates = [UseAVX] in { -- 2.7.4