[PATCH] D23445: [x86] Refactor a PowerPC specific ctlz/srl transformation (NFC).

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 12 09:33:35 PDT 2016


spatel added inline comments.

================
Comment at: include/llvm/Target/TargetLowering.h:3061
@@ -3055,1 +3060,3 @@
 
+  SDValue LowerToCtlzSrlPair(SDValue Op, SelectionDAG &DAG) const;
+
----------------
hfinkel wrote:
> Please add a comment here explaining what this function does, including its relationship to isCtlzFast.
A better name might also help: lowerCmpEqZeroToCtlzSrl() ?


https://reviews.llvm.org/D23445





More information about the llvm-commits mailing list