Skip to content

Commit 4f62062

Browse files
[LLVM][X86] Add f80 support for ct.select
Add special handling for x86_fp80 types in CTSELECT lowering by splitting them into three 32-bit chunks, performing constant-time selection on each chunk, and reassembling the result. This fixes crashes when compiling tests with f80 types. Also updated ctselect.ll to match current generic fallback implementation.
1 parent cee4156 commit 4f62062

File tree

6 files changed

+5209
-5099
lines changed

6 files changed

+5209
-5099
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 2716 additions & 2584 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)