amdgcn: Remove omp_gcn pass
authorAndrew Stubbs <ams@codesourcery.com>
Thu, 17 Sep 2020 11:48:21 +0000 (12:48 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Fri, 18 Sep 2020 10:13:07 +0000 (11:13 +0100)
commit220724c311473b8b0f2418350c2b64e796e92bda
tree8b64537204b7d17370c036bd0b01beeba85f50db
parent2bc8c6ed8492a3027d88974eee3426771cfb78eb
amdgcn: Remove omp_gcn pass

This pass only had an optimization for obtaining team/thread numbers in it,
and that turns out to be invalid in the presence of nested parallel regions,
so we can simply delete the whole thing.

Of course, it would be nice to apply the optimization where it is valid, but
that will take more effort than I have to spend right now.

gcc/ChangeLog:

* config/gcn/gcn-tree.c (execute_omp_gcn): Delete.
(make_pass_omp_gcn): Delete.
* config/gcn/t-gcn-hsa (PASSES_EXTRA): Delete.
* config/gcn/gcn-passes.def: Removed.
gcc/config/gcn/gcn-passes.def [deleted file]
gcc/config/gcn/gcn-tree.c
gcc/config/gcn/t-gcn-hsa