[llvm] [NewPM] Port MachineCombiner to the new pass manager (PR #217279)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 06:11:52 PDT 2026
================
@@ -0,0 +1,28 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CODEGEN_MACHINECOMBINER_H
+#define LLVM_CODEGEN_MACHINECOMBINER_H
+
+#include "llvm/CodeGen/MachinePassManager.h"
+
+namespace llvm {
+
+class MachineCombinerPass : public RequiredPassInfoMixin<MachineCombinerPass> {
+public:
+ LLVM_ABI PreservedAnalyses run(MachineFunction &MF,
+ MachineFunctionAnalysisManager &MFAM);
+
+ MachineFunctionProperties getRequiredProperties() const {
----------------
boomanaiden154 wrote:
This isn't present in the Legacy version so we probably shouldn't have it here.
https://github.com/llvm/llvm-project/pull/217279
More information about the llvm-commits
mailing list