[PATCH] D154858: [WIP] [AMDGPU] Add llvm.amdgcn.reduce.add Intrinsic.

Pravin Jagtap via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 23:44:16 PDT 2023


pravinjagtap added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SILowerReduceAndScanPseudo.cpp:172
+
+bool SIExpandReduceAndScanPseudo::runOnMachineFunction(MachineFunction &MF) {
+
----------------
arsenm wrote:
> This doesn't need to be a separate pass, can be a post isel hook 
Are you referring to `EmitInstrWithCustomInserter` API where other PSEUDOs are expanded ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154858



More information about the llvm-commits mailing list