From b1c3ef4b60681d3366cf27f6d34007dbdd6af3b2 Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Wed, 15 Oct 2014 23:42:04 +0000 Subject: [PATCH] [AVX512] Rename arg from Opcode32/64 to Opcode128/256 in vinsert_for_size It's the W bit that selects between 32 or 64 elt type and not the opcode. The opcode selects between the width of the insert (128 or 256). llvm-svn: 219870 --- llvm/lib/Target/X86/X86InstrAVX512.td | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/lib/Target/X86/X86InstrAVX512.td b/llvm/lib/Target/X86/X86InstrAVX512.td index 630571bffa88..1d69d1dbf7d5 100644 --- a/llvm/lib/Target/X86/X86InstrAVX512.td +++ b/llvm/lib/Target/X86/X86InstrAVX512.td @@ -373,16 +373,16 @@ multiclass vinsert_for_size; } -multiclass vinsert_for_type { - defm NAME # "32x4" : vinsert_for_size { + defm NAME # "32x4" : vinsert_for_size, X86VectorVTInfo<16, EltVT32, VR512>, X86VectorVTInfo< 2, EltVT64, VR128X>, X86VectorVTInfo< 8, EltVT64, VR512>, vinsert128_insert, INSERT_get_vinsert128_imm>; - defm NAME # "64x4" : vinsert_for_size, X86VectorVTInfo< 8, EltVT64, VR512>, X86VectorVTInfo< 8, EltVT32, VR256>,