diff --git a/llvm/lib/Target/ARM/ARMInstrMVE.td b/llvm/lib/Target/ARM/ARMInstrMVE.td index 087ea1926694..10a4c6d32030 100644 --- a/llvm/lib/Target/ARM/ARMInstrMVE.td +++ b/llvm/lib/Target/ARM/ARMInstrMVE.td @@ -2718,9 +2718,11 @@ multiclass MVE_immediate_shift_patterns("MVE_VSHR_imms" # VTI.BitsSuffix), [0]>; } -defm : MVE_immediate_shift_patterns; -defm : MVE_immediate_shift_patterns; -defm : MVE_immediate_shift_patterns; +let Predicates = [HasMVEInt] in { + defm : MVE_immediate_shift_patterns; + defm : MVE_immediate_shift_patterns; + defm : MVE_immediate_shift_patterns; +} // end of mve_shift instructions