[PATCH] D47690: [X86][BMI][TBM] Only demand bottom 16-bits of the BEXTR control op (PR34042)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 3 12:24:55 PDT 2018


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86InstrCompiler.td:2047
-            (BEXTRI32ri GR32:$src1, imm:$src2)>;
   def : Pat<(X86bextr (loadi32 addr:$src1), (i32 imm:$src2)),
             (BEXTRI32mi addr:$src1, imm:$src2)>;
----------------
Why aren't these load patterns redundant now?


Repository:
  rL LLVM

https://reviews.llvm.org/D47690





More information about the llvm-commits mailing list