diff options
author | Erich Keane <ekeane@nvidia.com> | 2024-10-02 10:33:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-02 10:33:49 -0700 |
commit | 5e92bfe97fe0f72f3052df53f813d8dcbb7038d3 (patch) | |
tree | 7813455f14bae6396dc5c4800cc614aabbf35fcc /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | ec7266617f674a84fd66cd3e87f52d631d23ede6 (diff) | |
download | llvm-5e92bfe97fe0f72f3052df53f813d8dcbb7038d3.zip llvm-5e92bfe97fe0f72f3052df53f813d8dcbb7038d3.tar.gz llvm-5e92bfe97fe0f72f3052df53f813d8dcbb7038d3.tar.bz2 |
[OpenACC] Check Loop counts for 'collapse' clause. (#110851)
OpenACC Spec requires that each loop associated with a 'collapse' have
exactly 1 loop/nest. This is implemented in 2 parts: 1- diagnosing when
we see a 2nd loop at any level with an applicable 'collapse'
2- Diagnosing if we didn't see enough 'depth' of loops.
Other loops (non-for) are diagnosed by a previous patch, and other
intervening code will be diagnosed in a followup.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions