[PATCH] D48600: [GISel]:Add Opcodes for CTLZ/CTTZ/CTPOP
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 26 11:36:04 PDT 2018
arsenm added inline comments.
================
Comment at: include/llvm/Support/TargetOpcodes.def:470-471
+
+/// Same as above, undefined for zero inputs.
+HANDLE_TARGET_OPCODE(G_CTTZ_ZERO_UNDEF)
+
----------------
Should we really preserve this SelectionDAGism or just make the zero is undef bit be an immediate operand to the instruction like the intrinsic?
Repository:
rL LLVM
https://reviews.llvm.org/D48600
More information about the llvm-commits
mailing list