[all-commits] [llvm/llvm-project] f33536: [InstCombine] Support gep nuw in icmp folds (#118472)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Dec 3 05:29:18 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f33536468b7f05c05c8cf8088427b0b5b665eb65
https://github.com/llvm/llvm-project/commit/f33536468b7f05c05c8cf8088427b0b5b665eb65
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-12-03 (Tue, 03 Dec 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/icmp-gep.ll
Log Message:
-----------
[InstCombine] Support gep nuw in icmp folds (#118472)
Unsigned icmp of gep nuw folds to unsigned icmp of offsets. Unsigned
icmp of gep nusw nuw folds to unsigned samesign icmp of offsets.
Proofs: https://alive2.llvm.org/ce/z/VEwQY8
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