diff options
author | Michael Liao <michael.hliao@gmail.com> | 2021-07-07 16:44:47 -0400 |
---|---|---|
committer | Michael Liao <michael.hliao@gmail.com> | 2021-07-08 10:25:58 -0400 |
commit | cc92833f8a3de7f6d4e301a1cb22adf2ffe94df4 (patch) | |
tree | 33d7873b6b22b5364918f0dd5544721f42ee0334 /llvm/lib/Support/ThreadPool.cpp | |
parent | 2bf5e8d953ededbc208bd4c116c9d6331d73f0f0 (diff) | |
download | llvm-cc92833f8a3de7f6d4e301a1cb22adf2ffe94df4.zip llvm-cc92833f8a3de7f6d4e301a1cb22adf2ffe94df4.tar.gz llvm-cc92833f8a3de7f6d4e301a1cb22adf2ffe94df4.tar.bz2 |
[amdgpu] Remove the GlobalDCE pass prior to the internalization pass.
- In [D98783](https://reviews.llvm.org/D98783), an extra GlobalDCE pass
is inserted before the internalization pass to ensure a global
variable without users could be internalized even if there are dead
users. Instead of inserting a dedicated optimization pass, the
dead user checking, i.e. 'use_empty()', should be preceeded with
constant dead user removal to ensure an accurate result.
Differential Revision: https://reviews.llvm.org/D105590
Diffstat (limited to 'llvm/lib/Support/ThreadPool.cpp')
0 files changed, 0 insertions, 0 deletions