[all-commits] [llvm/llvm-project] 7cfad7: [InstCombine] Add tests for folding multiuse `(icm...
goldsteinn via All-commits
all-commits at lists.llvm.org
Thu Jun 6 10:42:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cfad77a5e3e9145213b024b9151ff812b54de51
https://github.com/llvm/llvm-project/commit/7cfad77a5e3e9145213b024b9151ff812b54de51
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-of-or-x.ll
Log Message:
-----------
[InstCombine] Add tests for folding multiuse `(icmp eq/ne (or X, Y), Y)`; NFC
Commit: 3716a3c1bce4af81db6a95eee30e35b5b923e319
https://github.com/llvm/llvm-project/commit/3716a3c1bce4af81db6a95eee30e35b5b923e319
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-06-06 (Thu, 06 Jun 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-of-or-x.ll
Log Message:
-----------
[InstCombine] Folding multiuse `(icmp eq/ne (or X, Y), Y)` for 2 uses of `Y`
The fold will replace 2 uses of `Y` we should also do fold if `Y` has
2 uses (not only oneuse).
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D159062
Compare: https://github.com/llvm/llvm-project/compare/ce938fcbde54...3716a3c1bce4
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