[Mlir-commits] [mlir] [mlir][llvm] adds an attribute for the module level assembly (PR #151318)

Christian Ulmann llvmlistbot at llvm.org
Wed Jul 30 09:09:26 PDT 2025


================
@@ -0,0 +1,6 @@
+// RUN: mlir-translate -mlir-to-llvmir %s | FileCheck %s
+
+module attributes {llvm.module_asm = ["foo", "bar"]} {}
+
+// CHECK: module asm "foo"
+// CHECK: module asm "bar"
----------------
Dinistro wrote:

Nit: Please add the new line at the end of the file.

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


More information about the Mlir-commits mailing list