diff options
author | David Green <david.green@arm.com> | 2025-08-19 10:37:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-19 10:37:17 +0100 |
commit | a7df02f83c74c7229a09b2f89a51b003075560ab (patch) | |
tree | ca07b562c02c152906c00834466057d5243a7ead /clang/lib/AST/ByteCode/Compiler.cpp | |
parent | d286f2ef5578e8e6fb64fa00eefbec3c240063fb (diff) | |
download | llvm-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