[PATCH] D98783: [AMDGPU] Add GlobalDCE before internalization pass

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 15 12:57:21 PDT 2021


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp:584
+          PM.addPass(GlobalDCEPass());
           PM.addPass(InternalizePass(mustPreserveGV));
         }
----------------
Should we move where the internalize pass is added instead?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98783/new/

https://reviews.llvm.org/D98783



More information about the cfe-commits mailing list