aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorPeter Steinfeld <psteinfeld@nvidia.com>2021-03-03 10:52:40 -0800
committerPeter Steinfeld <psteinfeld@nvidia.com>2021-03-03 11:50:50 -0800
commit1c2935a7729fdc22186fa0a21968061a7f52f021 (patch)
treec6efb63cb7205e63adba16fa1a168b112cb5737f /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent83c56aa4ee82acb63327f96f502c4778d972b412 (diff)
downloadllvm-1c2935a7729fdc22186fa0a21968061a7f52f021.zip
llvm-1c2935a7729fdc22186fa0a21968061a7f52f021.tar.gz
llvm-1c2935a7729fdc22186fa0a21968061a7f52f021.tar.bz2
[flang] Prohibit MODULE procedures in the global scope
We were allowing procedures with the MODULE prefix to be declared at the global scope. This is prohibited by C1547 and was causing an internal check of the compiler to fail. I fixed this by adding a check. I also added a test that would trigger a crash without this change. Differential Revision: https://reviews.llvm.org/D97875
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions