aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff options
context:
space:
mode:
authorKiran Chandramohan <kiran.chandramohan@arm.com>2022-06-24 08:45:33 +0000
committerKiran Chandramohan <kiran.chandramohan@arm.com>2022-06-24 08:46:14 +0000
commit703b1054e93b7fb1ce88a797f3f63feab6b5a4f7 (patch)
tree70bbf0d46dfb1558571a5a48cd43febe8000958c /llvm/lib/Analysis/BasicAliasAnalysis.cpp
parentae7fbcd199a6f05447a3cd217ee19aeb70d0d116 (diff)
downloadllvm-703b1054e93b7fb1ce88a797f3f63feab6b5a4f7.zip
llvm-703b1054e93b7fb1ce88a797f3f63feab6b5a4f7.tar.gz
llvm-703b1054e93b7fb1ce88a797f3f63feab6b5a4f7.tar.bz2
[Flang] enable fir.is_present and fir.absent with function types
Fortran dummy procedures and procedure pointer can be OPTIONAL, and there is no technical reason to prevent fir.is_present and fir.absent from accepting function types, so allow it and add test. Note: This is part of upstreaming from the fir-dev branch of https://github.com/flang-compiler/f18-llvm-project. This patch is basically upstreaming the following PR. https://github.com/flang-compiler/f18-llvm-project/pull/1568 Reviewed By: clementval Differential Revision: https://reviews.llvm.org/D128464 Co-authored-by: Jean Perier <jperier@nvidia.com>
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions