[llvm] [ConstantTime][LLVM] Add llvm.ct.select intrinsic with generic SelectionDAG lowering (PR #166702)
Simon Tatham via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 7 06:24:54 PST 2025
================
@@ -484,6 +484,7 @@ namespace {
SDValue visitCTTZ_ZERO_UNDEF(SDNode *N);
SDValue visitCTPOP(SDNode *N);
SDValue visitSELECT(SDNode *N);
+ SDValue visitCTSELECT(SDNode *N);
----------------
statham-arm wrote:
I hate to say it, but is it possible that the naming of this node will cause confusion? Two lines above this `visitCTSELECT` I see the existing `visitCTPOP`, which _looks_ very similar, but is totally different – your CT stands for "constant time" but theirs stands for "count".
https://github.com/llvm/llvm-project/pull/166702
More information about the llvm-commits
mailing list