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

Christudasan Devadasan via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 06:57:57 PDT 2024


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

No braces needed.

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


More information about the llvm-commits mailing list