[Mlir-commits] [mlir] [MLIR] Integrate LLVM Optimization Remarks Infrastructure (PR #152474)

River Riddle llvmlistbot at llvm.org
Thu Aug 7 13:22:21 PDT 2025


================
@@ -69,5 +70,10 @@ add_mlir_library(MLIRIR
 
   LINK_LIBS PUBLIC
   MLIRSupport
+  
+  LINK_COMPONENTS
+    Remarks
+    Core
+    BitstreamReader  
----------------
River707 wrote:

Yes, though I'm not convinced we can even take a Remarks dependency right now. It has BitstreamReader as a link dependency, and also dependends on intrinsics_gen (which seems off). It also has some dependency on llvm/Object (in RemarkLinker). I'd rather us decouple any of those dependencies from IR (and move the option to emit things via LLVM to some other location: like mlir/Remarks/...).

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


More information about the Mlir-commits mailing list