[PATCH] D31851: [PowerPC] Eliminate compares - add handling for logical operations without the use of condition registers

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 08:45:06 PDT 2017


nemanjai added inline comments.


================
Comment at: lib/Target/PowerPC/PPCISelDAGToDAG.cpp:2751
 SDValue PPCDAGToDAGISel::getLogicalOpInGPR(SDValue LogicOp, bool KeepInGPR) {
-  return SDValue();
+  unsigned Op1Opc = LogicOp.getOperand(0).getOpcode();
+  unsigned Op2Opc = LogicOp.getOperand(1).getOpcode();
----------------
These two variables were erroneously left in after I refactored the code to not need them. They'll be removed on the commit.


Repository:
  rL LLVM

https://reviews.llvm.org/D31851





More information about the llvm-commits mailing list