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

Pravin Jagtap via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 07:29:41 PDT 2024


================
@@ -76,12 +77,17 @@ class GCNDPPCombine : public MachineFunctionPass {
 
   bool combineDPPMov(MachineInstr &MI) const;
 
+  int getDPPOp(unsigned Op, bool IsShrinkable) const;
+  bool isShrinkable(MachineInstr &MI) const;
+
+public:
+  bool run(MachineFunction &MF);
+};
+class GCNDPPCombineLegacy : public MachineFunctionPass {
----------------
pravinjagtap wrote:

Move to a next line

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


More information about the llvm-commits mailing list