[all-commits] [llvm/llvm-project] ffb179: [ConstantTime] Move the CT_SELECT expansion into a...
Julius Alexandre via All-commits
all-commits at lists.llvm.org
Tue Sep 8 06:53:31 PDT 2026
Branch: refs/heads/users/wizardengineer/ct-select-core
Home: https://github.com/llvm/llvm-project
Commit: ffb17921ec1e24b94ab32c20d04e154403270d20
https://github.com/llvm/llvm-project/commit/ffb17921ec1e24b94ab32c20d04e154403270d20
Author: wizardengineer <juliuswoosebert at gmail.com>
Date: 2026-09-08 (Tue, 08 Sep 2026)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Log Message:
-----------
[ConstantTime] Move the CT_SELECT expansion into a helper
The CT_SELECT case in ExpandNode was around 180 lines. Move it to
SelectionDAGLegalize::ExpandCTSELECT and name the operands, so the case is
three lines. Pure code motion: emitted assembly is unchanged for every RUN
line of the existing ct.select codegen tests.
Also use a temporary for the promoted SELECT so the call fits on one line
instead of wrapping after the assignment.
Co-Authored-By: Claude Opus 5 <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list