diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2025-05-27 10:51:26 +0100 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2025-05-27 10:51:33 +0100 |
| commit | 6f3efd80ab20d5ab4ac375da0d84d5999adbfcb9 (patch) | |
| tree | 2248c95845058a6f1efa1b47354e90e444d3e470 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | ac9a466e39bf97ffeab127982aa7c405cb257551 (diff) | |
[X86] combineTruncatedArithmetic - move more of fold inside combinei64TruncSrlConstant
Let combinei64TruncSrlConstant decide when the fold is invalid instead of splitting so many of the conditions with combineTruncatedArithmetic
NOTE: We can probably relax the i32 truncation constraint to <= i32, perform the SRL as i32 and then truncate further.
Noticed while triaging #141496
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
