[llvm] [CodeGen] Let `PassBuilder` support machine passes (PR #76320)

via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 24 17:42:46 PST 2023


================
@@ -461,8 +461,7 @@ class LLVMTargetMachine : public TargetMachine {
   }
 
   virtual std::pair<StringRef, bool> getPassNameFromLegacyName(StringRef) {
-    llvm_unreachable(
-        "getPassNameFromLegacyName parseMIRPipeline is not overridden");
+    llvm_unreachable("getPassNameFromLegacyName is not overridden");
----------------
paperchalice wrote:

This method is still necessary during migration, for `start/stop-before/after=<...>`, although `PassBuilder` is a better place to implement it.

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


More information about the llvm-commits mailing list