[PATCH] D71589: [PowerPC] Adding a match pattern to recognize the and mask with RLWINM8

Kai Luo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 22:35:00 PST 2019


lkail added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCInstr64Bit.td:1361
+          (RLWINM8 $in, 0, (MB maskimm64:$imm), (ME maskimm64:$imm))>;
+
 // Implement the 'not' operation with the NOR instruction.
----------------
Does `(and i32:$in, maskimm32:$imm)` also work?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71589/new/

https://reviews.llvm.org/D71589





More information about the llvm-commits mailing list