[PATCH] D17781: Codegen: [PPC] Word Rotates are Zero Extending

Kyle Butt via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 11:56:45 PST 2016


iteratee marked an inline comment as done.

================
Comment at: lib/Target/PowerPC/PPCInstrInfo.cpp:1559
@@ +1558,3 @@
+  bool isZeroExtendingRotate  =
+      (MIOpC == PPC::RLWINM || MIOpC == PPC::RLWNM)
+      && MI->getOperand(3).getImm() <= MI->getOperand(4).getImm();
----------------
I actually meant to use PPC::RLWNM.
I added a test case to cover this.


http://reviews.llvm.org/D17781





More information about the llvm-commits mailing list