diff options
author | Maksim Kita <kitaetoya@gmail.com> | 2023-07-19 17:07:40 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-07-19 17:12:27 +0200 |
commit | 8981520b19f2d2fe3d2bc80cf26318ee6b5b7473 (patch) | |
tree | cda96a55ba4b90ee38d3ef0aba89f85a01224e8f /libcxx | |
parent | e537c839757c6bae91bd5adbf65eb4e06a040840 (diff) | |
download | llvm-8981520b19f2d2fe3d2bc80cf26318ee6b5b7473.zip llvm-8981520b19f2d2fe3d2bc80cf26318ee6b5b7473.tar.gz llvm-8981520b19f2d2fe3d2bc80cf26318ee6b5b7473.tar.bz2 |
[AggressiveInstCombine] Fold strcmp for short string literals
Fold strcmp() against 1-char string literals.
This designates AggressiveInstCombine as the pass for libcalls
simplifications that may need to change the control flow graph.
Fixes https://github.com/llvm/llvm-project/issues/58003.
Differential Revision: https://reviews.llvm.org/D154725
Diffstat (limited to 'libcxx')
0 files changed, 0 insertions, 0 deletions