aboutsummaryrefslogtreecommitdiff
path: root/flang
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-04-10 00:31:56 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-04-10 00:56:28 +0300
commit077bff39d46364035a5dcfa32fc69910ad0975d0 (patch)
treebb125d668e537244529013b0265ab57bbffa494c /flang
parent[NFC][SROA] Add C++'s `std::clamp()` testcase from PR47271/PR49909 (diff)
downloadllvm-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