[Mlir-commits] [mlir] [mlir] Add llvm.linker.options operation to the LLVM IR Dialect (PR #71720)
Christian Ulmann
llvmlistbot at llvm.org
Thu Nov 9 09:06:52 PST 2023
================
@@ -253,3 +253,10 @@ llvm.comdat @__llvm_comdat_1 {
// expected-error @below{{comdat selection symbols must be unique even in different comdat regions}}
llvm.comdat_selector @foo any
}
+
+// -----
+
+llvm.func @foo() {
+ // expected-error @below{{must appear at the module level}}
+ llvm.linker_options ["test"]
+}
----------------
Dinistro wrote:
Nit: Lacks a trailing newline.
https://github.com/llvm/llvm-project/pull/71720
More information about the Mlir-commits
mailing list