[llvm] AMDGPU/NewPM Port GCNDPPCombine to NPM (PR #105816)

Christudasan Devadasan via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 02:50:33 PDT 2024


================
@@ -781,3 +792,15 @@ bool GCNDPPCombine::runOnMachineFunction(MachineFunction &MF) {
   }
   return Changed;
 }
+
+PreservedAnalyses GCNDPPCombinePass::run(MachineFunction &MF,
+                                         MachineFunctionAnalysisManager &) {
+  GCNDPPCombine Impl;
+  bool Changed = Impl.run(MF);
----------------
cdevadas wrote:

```suggestion
  bool Changed = GCNDPPCombine().run(MF);
```

https://github.com/llvm/llvm-project/pull/105816


More information about the llvm-commits mailing list