aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorBjörn Pettersson <bjorn.a.pettersson@ericsson.com>2025-04-14 17:11:13 +0200
committerGitHub <noreply@github.com>2025-04-14 17:11:13 +0200
commit092b6e73e651469527662443b592f98f442ece72 (patch)
treee69f4cc5a4d68e142113a4259a51aae489da3379 /llvm/lib/CodeGen/CodeGen.cpp
parenta485abbddda7997177b1b56f4dc8e9c069ae4d9a (diff)
downloadllvm-092b6e73e651469527662443b592f98f442ece72.zip
llvm-092b6e73e651469527662443b592f98f442ece72.tar.gz
llvm-092b6e73e651469527662443b592f98f442ece72.tar.bz2
[InstCombine] Handle "add like" in ADD+GEP->GEP+GEP rewrites (#135156)
Considering that "or disjoint" is the canonical for certain add operations, then I think we want to support such "add like" operations when doing ADD+GEP->GEP+GEP rewrites to make things more consistent. Problem was found when improving ValueTracking, which turned an ADD into OR, and then suddenly optimizations got worse due to these rewrites no longer triggering.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions