aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2025-08-19 10:37:17 +0100
committerGitHub <noreply@github.com>2025-08-19 10:37:17 +0100
commita7df02f83c74c7229a09b2f89a51b003075560ab (patch)
treeca07b562c02c152906c00834466057d5243a7ead /clang/lib/AST/ByteCode/Compiler.cpp
parentd286f2ef5578e8e6fb64fa00eefbec3c240063fb (diff)
downloadllvm-a7df02f83c74c7229a09b2f89a51b003075560ab.zip
llvm-a7df02f83c74c7229a09b2f89a51b003075560ab.tar.gz
llvm-a7df02f83c74c7229a09b2f89a51b003075560ab.tar.bz2
[InstCombine] Make strlen optimization more resilient to different gep types. (#153623)
This makes the optimization in optimizeStringLength for strlen(gep @glob, %x) -> sub endof@glob, %x a little more resilient, and maybe a bit more correct for geps with non-array types.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions