[all-commits] [llvm/llvm-project] 4a6c5c: [InstCombine] Fold shifts + selects with -1 to scm...
AZero13 via All-commits
all-commits at lists.llvm.org
Fri Oct 24 09:47:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4a6c5c6ea845f1dcc32234355d4401659121b13c
https://github.com/llvm/llvm-project/commit/4a6c5c6ea845f1dcc32234355d4401659121b13c
Author: AZero13 <gfunni234 at gmail.com>
Date: 2025-10-25 (Sat, 25 Oct 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/scmp.ll
Log Message:
-----------
[InstCombine] Fold shifts + selects with -1 to scmp(X, 0) (#164129)
This is because the sign function with 0 tends to be folded to ashr and
other things.
Alive2: https://alive2.llvm.org/ce/z/Q59KvH
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