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

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 13:50:46 PDT 2017


echristo added inline comments.


================
Comment at: lib/Target/PowerPC/PPCISelDAGToDAG.cpp:280
     enum SetccInGPROpts { ZExtOrig, ZExtInvert, SExtOrig, SExtInvert };
+    enum LogicalOpsInGPR { KeepInGPR, ExtractToCR };
 
----------------
Part of asking for the enum is wondering why it's necessary. It seems odd to say "getLogicOpInGPR" to want to know whether or not to put something in a GPR.


Repository:
  rL LLVM

https://reviews.llvm.org/D31851





More information about the llvm-commits mailing list