aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CIR/CodeGen/CIRGenModule.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-07-02 16:45:27 +0200
committerGitHub <noreply@github.com>2025-07-02 16:45:27 +0200
commit2dc44b3a7ba1d70f823a1a13d6364d2738ede6c3 (patch)
tree8d63cb51505d36d0ba87b941ac5d62c65017de53 /clang/lib/CIR/CodeGen/CIRGenModule.cpp
parentad715beca18469a483d14df3462446d37c039ac8 (diff)
downloadllvm-2dc44b3a7ba1d70f823a1a13d6364d2738ede6c3.zip
llvm-2dc44b3a7ba1d70f823a1a13d6364d2738ede6c3.tar.gz
llvm-2dc44b3a7ba1d70f823a1a13d6364d2738ede6c3.tar.bz2
[InstCombine] Fix multi-use handling for multi-GEP rewrite (#146689)
If we're expanding offsets for a chain of GEPs in RewriteGEPs mode, we should also rewrite GEPs that have one-use themselves, but are kept alive by a multi-use GEP later in the chain. For the sake of simplicity, I've changed this to just skip the one-use condition entirely (which will perform an unnecessary rewrite of a no longer used GEP, but shouldn't otherwise matter).
Diffstat (limited to 'clang/lib/CIR/CodeGen/CIRGenModule.cpp')
0 files changed, 0 insertions, 0 deletions