[PATCH] D75504: [AMDGPU] moving vcc branch optimization into peephole

Christudasan Devadasan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 20 04:18:42 PDT 2020


cdevadas marked an inline comment as done.
cdevadas added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp:1017
   addPass(&SIRemoveShortExecBranchesID);
+  addPass(&PeepholeOptimizerID);
   addPass(&SIInsertSkipsPassID);
----------------
arsenm wrote:
> Still has the extra pass run
Planning to introduce a late pass called 'SIPreEmitPeephole' to handle it. In general, this pass can handle any late optimization opportunities identified before code emission. 


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

https://reviews.llvm.org/D75504





More information about the llvm-commits mailing list