From: Philip Reames Date: Tue, 10 Jan 2023 01:09:34 +0000 (-0800) Subject: [X86] Reuse STDNone for MFENCE node [nfc] X-Git-Tag: upstream/17.0.6~21616 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0dd3f30fe3289aaacb813906ec3cfc7819403ab9;p=platform%2Fupstream%2Fllvm.git [X86] Reuse STDNone for MFENCE node [nfc] --- diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index 9a32379..f26b6d7 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>;