Skip to content

Commit 44ad42e

Browse files
committed
resolve comment
1 parent 7f8ea96 commit 44ad42e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/X86/X86InstrSystem.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,10 +680,9 @@ def INVPCID64 : I<0x82, MRMSrcMem, (outs), (ins GR64:$src1, i128mem:$src2),
680680
"invpcid\t{$src2, $src1|$src1, $src2}", []>, T8PD,
681681
Requires<[In64BitMode, HasINVPCID]>;
682682

683-
let CD8_Scale = 0 in
684683
def INVPCID64_EVEX : I<0xF2, MRMSrcMem, (outs), (ins GR64:$src1, i128mem:$src2),
685684
"invpcid\t{$src2, $src1|$src1, $src2}", []>,
686-
EVEX, T_MAP4XS, Requires<[In64BitMode, HasINVPCID]>;
685+
EVEX_NoCD8, T_MAP4XS, Requires<[In64BitMode, HasINVPCID]>;
687686
} // SchedRW
688687

689688
let Predicates = [In64BitMode, HasINVPCID] in {

llvm/lib/Target/X86/X86InstrUtils.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class EVEX_CD8<int esize, CD8VForm form> {
8686
int CD8_EltSize = !srl(esize, 3);
8787
bits<3> CD8_Form = form.Value;
8888
}
89+
class EVEX_NoCD8 : EVEX { bits<7> CD8_Scale = 0; }
8990
class XOP { Encoding OpEnc = EncXOP; }
9091
class XOP_4V : XOP { bit hasVEX_4V = 1; }
9192
class EVEX2VEXOverride<string VEXInstrName> {

0 commit comments

Comments
 (0)