[llvm] 2a951d7 - [X86][NFC] Reuse class EVEX_NoCD8 that is defined in #74548
Shengchen Kan via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 6 21:26:18 PST 2023
Author: Shengchen Kan
Date: 2023-12-07T13:26:09+08:00
New Revision: 2a951d78df633f2100a91b556f675efb4fec568b
URL: https://github.com/llvm/llvm-project/commit/2a951d78df633f2100a91b556f675efb4fec568b
DIFF: https://github.com/llvm/llvm-project/commit/2a951d78df633f2100a91b556f675efb4fec568b.diff
LOG: [X86][NFC] Reuse class EVEX_NoCD8 that is defined in #74548
Added:
Modified:
llvm/lib/Target/X86/X86InstrVMX.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86InstrVMX.td b/llvm/lib/Target/X86/X86InstrVMX.td
index c601b1a97932b..5289819119ceb 100644
--- a/llvm/lib/Target/X86/X86InstrVMX.td
+++ b/llvm/lib/Target/X86/X86InstrVMX.td
@@ -22,11 +22,9 @@ def INVEPT32 : I<0x80, MRMSrcMem, (outs), (ins GR32:$src1, i128mem:$src2),
def INVEPT64 : I<0x80, MRMSrcMem, (outs), (ins GR64:$src1, i128mem:$src2),
"invept\t{$src2, $src1|$src1, $src2}", []>, T8PD,
Requires<[In64BitMode]>;
-
-let CD8_Scale = 0 in
def INVEPT64_EVEX : I<0xF0, MRMSrcMem, (outs), (ins GR64:$src1, i128mem:$src2),
"invept\t{$src2, $src1|$src1, $src2}", []>,
- EVEX, T_MAP4XS, Requires<[In64BitMode]>;
+ EVEX_NoCD8, T_MAP4XS, Requires<[In64BitMode]>;
// 66 0F 38 81
def INVVPID32 : I<0x81, MRMSrcMem, (outs), (ins GR32:$src1, i128mem:$src2),
@@ -35,11 +33,9 @@ def INVVPID32 : I<0x81, MRMSrcMem, (outs), (ins GR32:$src1, i128mem:$src2),
def INVVPID64 : I<0x81, MRMSrcMem, (outs), (ins GR64:$src1, i128mem:$src2),
"invvpid\t{$src2, $src1|$src1, $src2}", []>, T8PD,
Requires<[In64BitMode]>;
-
-let CD8_Scale = 0 in
def INVVPID64_EVEX : I<0xF1, MRMSrcMem, (outs), (ins GR64:$src1, i128mem:$src2),
"invvpid\t{$src2, $src1|$src1, $src2}", []>,
- EVEX, T_MAP4XS, Requires<[In64BitMode]>;
+ EVEX_NoCD8, T_MAP4XS, Requires<[In64BitMode]>;
// 0F 01 C1
def VMCALL : I<0x01, MRM_C1, (outs), (ins), "vmcall", []>, TB;
More information about the llvm-commits
mailing list