[llvm-branch-commits] [llvm] [ConstantTime] Native ct.select support for ARM64 (PR #166706)

David Green via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Sep 6 23:52:02 PDT 2026


================
@@ -5738,6 +5742,42 @@ def F128CSEL : Pseudo<(outs FPR128:$Rd),
   let hasNoSchedulingInfo = 1;
 }
 
+//===----------------------------------------------------------------------===//
+// Constant-time conditional selection instructions
+//===----------------------------------------------------------------------===//
+
+let hasSideEffects = 1, isPseudo = 1, hasNoSchedulingInfo = 1,
+    Uses = [NZCV] in {
+  def I32CTSELECT
----------------
davemgreen wrote:

Can we call them something like CTSELECTW, CTSELECTX, CTSELECTH, CTSELECTS and CTSELECTD?

https://github.com/llvm/llvm-project/pull/166706


More information about the llvm-branch-commits mailing list