aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Utils.cpp
diff options
context:
space:
mode:
authorPeter Steinfeld <psteinfeld@nvidia.com>2021-03-25 08:04:19 -0700
committerPeter Steinfeld <psteinfeld@nvidia.com>2021-03-29 10:12:35 -0700
commita7afc8a51471bdfd0c597f8e885dbddada7f590a (patch)
tree94f0ff1f955c3891cdd4a5c166ffd15a26d03653 /llvm/lib/Transforms/Utils/Utils.cpp
parent54bacaf31127ee9d19e8df7ad7de5c94a4fc7c62 (diff)
downloadllvm-a7afc8a51471bdfd0c597f8e885dbddada7f590a.zip
llvm-a7afc8a51471bdfd0c597f8e885dbddada7f590a.tar.gz
llvm-a7afc8a51471bdfd0c597f8e885dbddada7f590a.tar.bz2
[flang] Fix CHECK() calls on erroneous procedure declarations
When writing tests for a previous problem, I ran across situations where the compiler was failing calls to CHECK(). In these situations, the compiler had inconsistent semantic information because the programs were erroneous. This inconsistent information was causing the calls to CHECK(). I fixed this by avoiding the code that ended up making the failed calls to CHECK() and making sure that we were only avoiding these situations when the associated symbols were erroneous. I also added tests that would cause the calls to CHECK() without these changes. Differential Revision: https://reviews.llvm.org/D99342
Diffstat (limited to 'llvm/lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions