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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 06:46:49 PDT 2024


================
@@ -749,9 +753,16 @@ bool GCNDPPCombine::combineDPPMov(MachineInstr &MovMI) const {
   return !Rollback;
 }
 
-bool GCNDPPCombine::runOnMachineFunction(MachineFunction &MF) {
+bool GCNDPPCombineLegacy::runOnMachineFunction(MachineFunction &MF) {
+  if (skipFunction(MF.getFunction())) {
----------------
arsenm wrote:

Don't need braces 

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


More information about the llvm-commits mailing list