[all-commits] [llvm/llvm-project] 6f3efd: [X86] combineTruncatedArithmetic - move more of fo...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue May 27 02:51:59 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6f3efd80ab20d5ab4ac375da0d84d5999adbfcb9
https://github.com/llvm/llvm-project/commit/6f3efd80ab20d5ab4ac375da0d84d5999adbfcb9
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-05-27 (Tue, 27 May 2025)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[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
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