[llvm] [X86] Support lowering for APX promoted BMI instructions. (PR #77433)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 05:12:37 PST 2024


================
@@ -1864,62 +1864,37 @@ def : Pat<(fshl GR64:$src1, GR64:$src2, (shiftMask64 CL)),
 def : Pat<(fshr GR64:$src2, GR64:$src1, (shiftMask64 CL)),
           (SHRD64rrCL GR64:$src1, GR64:$src2)>;
 
-let Predicates = [HasBMI2] in {
+multiclass bmi_shift_mask_Pats<SDNode op, string suffix = ""> {
----------------
RKSimon wrote:

(style) lowercase: `bmi_shift_mask_pats`

https://github.com/llvm/llvm-project/pull/77433


More information about the llvm-commits mailing list