[llvm] [ConstantTime][LLVM] Add llvm.ct.select intrinsic with generic SelectionDAG lowering (PR #166702)
Julius Alexandre via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 19 20:13:39 PDT 2026
================
----------------
wizardengineer wrote:
The two safe folds, a literal constant condition and identical arms, are done in InstructionSimplify for ct_select. f4383a332170 notes those are the only folds LangRef allows, so we do not fold through known bits and lose the constant-time property.
https://github.com/llvm/llvm-project/pull/166702
More information about the llvm-commits
mailing list