[Mlir-commits] [mlir] [mlir][emitc] Support 'emitc::LValueType' in 'emitc::VerbatimOp' (PR #144151)

Simon Camphausen llvmlistbot at llvm.org
Mon Jun 16 02:29:59 PDT 2025


================
@@ -246,12 +246,20 @@ emitc.verbatim "typedef float f32;"
 // The value is not interpreted as format string if there are no operands.
 emitc.verbatim "{} {  }"
 
-func.func @test_verbatim(%arg0 : !emitc.ptr<i32>, %arg1 : i32) {
+func.func @test_verbatim(%arg0 : !emitc.ptr<i32>, %arg1 : i32, %arg3: !emitc.array<3x!emitc.ptr<i32>>) {
----------------
simon-camp wrote:

Seems like you can use %arg2 instead of %arg3 here

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


More information about the Mlir-commits mailing list