[all-commits] [llvm/llvm-project] 83272a: [InstCombine] Fold icmp of gep chain with base (#1...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Jul 2 00:23:57 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 83272a48493948c5190be00e7e734a0335be86f8
https://github.com/llvm/llvm-project/commit/83272a48493948c5190be00e7e734a0335be86f8
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/icmp-gep.ll
M llvm/test/Transforms/InstCombine/pr39908.ll
Log Message:
-----------
[InstCombine] Fold icmp of gep chain with base (#144065)
Fold icmp between a chain of geps and its base pointer. Previously only
a single gep was supported.
This will be extended to handle the case of two gep chains with a common
base in a followup.
This helps to avoid regressions after #137297.
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