diff --git a/llvm/lib/Target/X86/X86InstrSystem.td b/llvm/lib/Target/X86/X86InstrSystem.td index 1d1b9698daee..5e7c8654b0de 100644 --- a/llvm/lib/Target/X86/X86InstrSystem.td +++ b/llvm/lib/Target/X86/X86InstrSystem.td @@ -536,10 +536,10 @@ let SchedRW = [WriteSystem], Predicates = [HasSHSTK] in{ } // Defs SSP } // SchedRW && HasSHSTK -let Predicates = [HasIBT] in { +let SchedRW = [WriteSystem], Predicates = [HasIBT] in { def ENDBR64 : I<0x1E, MRM_FA, (outs), (ins), "endbr64", []>, XS; def ENDBR32 : I<0x1E, MRM_FB, (outs), (ins), "endbr32", []>, XS; -} // HasIBT +} // SchedRW && HasIBT //===----------------------------------------------------------------------===// // XSAVE instructions