[PATCH] D73214: [MIPS GlobalISel] Select count leading zeros
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 04:50:34 PST 2020
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:3872
+ auto UnmergeSrc = B.buildUnmerge(NarrowTy, MI.getOperand(1));
+
+ auto C_0 = B.buildConstant(NarrowTy, 0);
----------------
Can you add a comment like the DAG has for what this is doing like
// ctlz (HiLo) -> Hi != 0 ? ctlz(Hi) : (ctlz(Lo)+32)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73214/new/
https://reviews.llvm.org/D73214
More information about the llvm-commits
mailing list