[PATCH] D105590: [amdgpu] Remove the GlobalDCE pass prior to the internalization pass.
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 7 13:57:06 PDT 2021
rampitec added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp:434
+ GV.removeDeadConstantUsers();
return !GV.use_empty();
----------------
Maybe do this in the InternalizePass itself? This is a predicate function and it is not expected to change the IR.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105590/new/
https://reviews.llvm.org/D105590
More information about the llvm-commits
mailing list