[PATCH] D28874: [AMDGPU] Add VGPR copies post regalloc fix pass

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 19 10:33:55 PST 2017


arsenm added inline comments.


================
Comment at: lib/Target/AMDGPU/AMDGPUTargetMachine.cpp:619
 void GCNPassConfig::addPostRegAlloc() {
+  addPass(&SIFixVGPRCopiesID);
   addPass(&SIOptimizeExecMaskingID);
----------------
I would also expect if we need this that it would more important for pre-regalloc. We also can't generally expect to add these to every copy that any generic pass is allowed to produce


Repository:
  rL LLVM

https://reviews.llvm.org/D28874





More information about the llvm-commits mailing list