aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-04-29 08:57:51 -0700
committerPeter Klausler <pklausler@nvidia.com>2022-05-09 13:38:18 -0700
commit460fc79a080ba5733c30610cceb6ddced37afdd4 (patch)
treea18be4308adc3aa415aa880e93dd778bf118dddb /llvm/lib/Transforms/Utils/Local.cpp
parentcce80bd8b74d54deb82b1b6ae0cbec1ab53c1dbb (diff)
downloadllvm-460fc79a080ba5733c30610cceb6ddced37afdd4.zip
llvm-460fc79a080ba5733c30610cceb6ddced37afdd4.tar.gz
llvm-460fc79a080ba5733c30610cceb6ddced37afdd4.tar.bz2
[flang] Fold intrinsic inquiry functions SAME_TYPE_AS() and EXTENDS_TYPE_OF()
When the result can be known at compilation time, fold it. Success depends on whether the operands are polymorphic. When neither one is polymorphic, the result is known and can be either .TRUE. or .FALSE.; when either one is polymorphic, a .FALSE. result still can be discerned. Differential Revision: https://reviews.llvm.org/D125062
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions