[llvm] 0dd3f30 - [X86] Reuse STDNone for MFENCE node [nfc]
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 17:21:02 PST 2023
Author: Philip Reames
Date: 2023-01-09T17:20:51-08:00
New Revision: 0dd3f30fe3289aaacb813906ec3cfc7819403ab9
URL: https://github.com/llvm/llvm-project/commit/0dd3f30fe3289aaacb813906ec3cfc7819403ab9
DIFF: https://github.com/llvm/llvm-project/commit/0dd3f30fe3289aaacb813906ec3cfc7819403ab9.diff
LOG: [X86] Reuse STDNone for MFENCE node [nfc]
Added:
Modified:
llvm/lib/Target/X86/X86InstrInfo.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td
index 9a3237928e1eb..f26b6d7a588ad 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.td
+++ b/llvm/lib/Target/X86/X86InstrInfo.td
@@ -121,8 +121,6 @@ def SDT_X86EHRET : SDTypeProfile<0, 1, [SDTCisInt<0>]>;
def SDT_X86TCRET : SDTypeProfile<0, 2, [SDTCisPtrTy<0>, SDTCisVT<1, i32>]>;
-def SDT_X86MEMBARRIER : SDTypeProfile<0, 0, []>;
-
def SDT_X86ENQCMD : SDTypeProfile<1, 2, [SDTCisVT<0, i32>,
SDTCisPtrTy<1>, SDTCisSameAs<1, 2>]>;
@@ -135,8 +133,7 @@ def SDTX86Cmpccxadd : SDTypeProfile<1, 4, [SDTCisSameAs<0, 2>,
SDTCisPtrTy<1>, SDTCisSameAs<2, 3>,
SDTCisVT<4, i8>]>;
-def X86MFence : SDNode<"X86ISD::MFENCE", SDT_X86MEMBARRIER,
- [SDNPHasChain]>;
+def X86MFence : SDNode<"X86ISD::MFENCE", SDTNone, [SDNPHasChain]>;
def X86bsf : SDNode<"X86ISD::BSF", SDTUnaryArithWithFlags>;
More information about the llvm-commits
mailing list