From 4a9b1e1273618491cc433699277ad1b939c4b83b Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 5 Dec 2017 16:10:57 +0000 Subject: [PATCH] [X86][AVX512] Drop some default NoItinerary arguments that aren't needed any more llvm-svn: 319782 --- llvm/lib/Target/X86/X86InstrAVX512.td | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/llvm/lib/Target/X86/X86InstrAVX512.td b/llvm/lib/Target/X86/X86InstrAVX512.td index 5860f32de2e4..6cc667d1dfe4 100644 --- a/llvm/lib/Target/X86/X86InstrAVX512.td +++ b/llvm/lib/Target/X86/X86InstrAVX512.td @@ -311,7 +311,7 @@ multiclass AVX512_maskable_scalar O, Format F, X86VectorVTInfo _, dag Outs, dag Ins, string OpcodeStr, string AttSrcAsm, string IntelSrcAsm, dag RHS, - InstrItinClass itin = NoItinerary, + InstrItinClass itin, bit IsCommutable = 0> : AVX512_maskable; @@ -340,7 +340,7 @@ multiclass AVX512_maskable_3src O, Format F, X86VectorVTInfo _, multiclass AVX512_maskable_3src_scalar O, Format F, X86VectorVTInfo _, dag Outs, dag NonTiedIns, string OpcodeStr, string AttSrcAsm, string IntelSrcAsm, - dag RHS, InstrItinClass itin = NoItinerary, + dag RHS, InstrItinClass itin, bit IsCommutable = 0, bit IsKCommutable = 0, bit MaskOnly = 0> : @@ -353,7 +353,7 @@ multiclass AVX512_maskable_in_asm O, Format F, X86VectorVTInfo _, string OpcodeStr, string AttSrcAsm, string IntelSrcAsm, list Pattern, - InstrItinClass itin = NoItinerary> : + InstrItinClass itin> : AVX512_maskable_custom O, Format F, string AttSrcAsm, string IntelSrcAsm, list Pattern, list MaskingPattern, - InstrItinClass itin = NoItinerary, + InstrItinClass itin, bit IsCommutable = 0> { let isCommutable = IsCommutable in def NAME: AVX512 O, Format F, X86VectorVTInfo _, string OpcodeStr, string AttSrcAsm, string IntelSrcAsm, dag RHS, dag MaskingRHS, - InstrItinClass itin = NoItinerary, + InstrItinClass itin, bit IsCommutable = 0> : AVX512_maskable_custom_cmp O, Format F, X86VectorVTInfo _, multiclass AVX512_maskable_cmp O, Format F, X86VectorVTInfo _, dag Outs, dag Ins, string OpcodeStr, string AttSrcAsm, string IntelSrcAsm, - dag RHS, InstrItinClass itin = NoItinerary, + dag RHS, InstrItinClass itin, bit IsCommutable = 0> : AVX512_maskable_common_cmp O, Format F, X86VectorVTInfo _, multiclass AVX512_maskable_cmp_alt O, Format F, X86VectorVTInfo _, dag Outs, dag Ins, string OpcodeStr, string AttSrcAsm, string IntelSrcAsm, - InstrItinClass itin = NoItinerary> : + InstrItinClass itin> : AVX512_maskable_custom_cmp; @@ -422,7 +422,7 @@ multiclass AVX512_maskable_logic O, Format F, X86VectorVTInfo _, dag Outs, dag Ins, string OpcodeStr, string AttSrcAsm, string IntelSrcAsm, dag RHS, dag MaskedRHS, - InstrItinClass itin = NoItinerary, + InstrItinClass itin, bit IsCommutable = 0, SDNode Select = vselect> : AVX512_maskable_custom opc, string OpcodeStr,X86VectorVTInfo _, (ins _.RC:$src1, _.RC:$src2), OpcodeStr, "{sae}, $src2, $src1", "$src1, $src2, {sae}", (SaeNode (_.VT _.RC:$src1), (_.VT _.RC:$src2), - (i32 FROUND_NO_EXC))>, EVEX_B, Sched<[itins.Sched]>; + (i32 FROUND_NO_EXC)), itins.rr>, EVEX_B, + Sched<[itins.Sched]>; } }