diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-04-10 00:31:56 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-04-10 00:56:28 +0300 |
commit | 077bff39d46364035a5dcfa32fc69910ad0975d0 (patch) | |
tree | bb125d668e537244529013b0265ab57bbffa494c /flang | |
parent | [NFC][SROA] Add C++'s `std::clamp()` testcase from PR47271/PR49909 (diff) | |
download | llvm-project-077bff39d46364035a5dcfa32fc69910ad0975d0.tar.gz llvm-project-077bff39d46364035a5dcfa32fc69910ad0975d0.tar.bz2 llvm-project-077bff39d46364035a5dcfa32fc69910ad0975d0.zip |
[Analysis] isDereferenceableAndAlignedPointer(): recurse into select's hands
By doing this within the method itself,
we support traversing multiple levels of selects (TODO: PHI's),
fixing the SROA `std::clamp()` testcase.
Fixes https://bugs.llvm.org/show_bug.cgi?id=47271
Mostly fixes https://bugs.llvm.org/show_bug.cgi?id=49909
Diffstat (limited to 'flang')
0 files changed, 0 insertions, 0 deletions