[Mlir-commits] [mlir] [MLIR][LLVMIR] Allow llvm.call and llvm.invoke to use llvm.mlir.alias as callee (PR #189154)

Tobias Gysi llvmlistbot at llvm.org
Sat Mar 28 05:55:27 PDT 2026


================
@@ -90,3 +90,26 @@ llvm.mlir.global internal constant @g3() {dso_local} : !llvm.ptr {
 // CHECK: @g3 = internal constant ptr @a2
 // CHECK: @a1 = private alias i32, ptr @g1
 // CHECK: @a2 = private alias ptr, ptr @a1
+
+// -----
+
+// Test that llvm.call and llvm.invoke can use an alias as the callee, and that
----------------
gysit wrote:

An invoke test case could make sense since the lowerings currently use different code paths?

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


More information about the Mlir-commits mailing list