[Mlir-commits] [mlir] [WIP][mlir][EmitC] Model lvalues as a type in EmitC (PR #91475)
Simon Camphausen
llvmlistbot at llvm.org
Mon May 13 01:46:31 PDT 2024
================
@@ -85,8 +85,12 @@ func.func @opaque_types(%arg0: !emitc.opaque<"bool">, %arg1: !emitc.opaque<"char
func.func @apply(%arg0: i32) -> !emitc.ptr<i32> {
// CHECK: int32_t* [[V2]] = &[[V1]];
%0 = emitc.apply "&"(%arg0) : (i32) -> !emitc.ptr<i32>
----------------
simon-camp wrote:
Agreed
https://github.com/llvm/llvm-project/pull/91475
More information about the Mlir-commits
mailing list