Skip to content

Commit 0db9723

Browse files
committed
[X86] Remove usesCustomInserter from MWAITX_SAVE_EBX and MWAITX_SAVE_RBX. NFC
These are now emitted by a CustomInserter rather than using a custom inserter themselves.
1 parent b0dce6b commit 0db9723

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/Target/X86/X86InstrCompiler.td

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -901,8 +901,7 @@ def LCMPXCHG16B_SAVE_RBX :
901901
// cf comment for LCMPXCHG8B_SAVE_EBX.
902902
let Defs = [ECX, EAX, EBX, EFLAGS], Uses = [ECX, EAX, EBX],
903903
Predicates = [HasMWAITX], SchedRW = [WriteSystem],
904-
isCodeGenOnly = 1, isPseudo = 1, Constraints = "$ebx_save = $dst",
905-
usesCustomInserter = 1 in {
904+
isCodeGenOnly = 1, isPseudo = 1, Constraints = "$ebx_save = $dst" in {
906905
def MWAITX_SAVE_EBX :
907906
I<0, Pseudo, (outs GR32:$dst),
908907
(ins GR32:$ebx_input, GR32:$ebx_save),
@@ -912,8 +911,7 @@ def MWAITX_SAVE_EBX :
912911
// Same as MWAITX_SAVE_EBX but for the case where RBX is the base pointer.
913912
let Defs = [ECX, EAX, EBX, EFLAGS], Uses = [ECX, EAX, EBX],
914913
Predicates = [HasMWAITX], SchedRW = [WriteSystem],
915-
isCodeGenOnly = 1, isPseudo = 1, Constraints = "$rbx_save = $dst",
916-
usesCustomInserter = 1 in {
914+
isCodeGenOnly = 1, isPseudo = 1, Constraints = "$rbx_save = $dst" in {
917915
def MWAITX_SAVE_RBX :
918916
I<0, Pseudo, (outs GR64:$dst),
919917
(ins GR32:$ebx_input, GR64:$rbx_save),

0 commit comments

Comments
 (0)