[llvm] [SPIRV] Add support for non-interposable function aliases (PR #172730)

Manuel Carrasco via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 18 03:42:26 PST 2025


================
@@ -0,0 +1,15 @@
+; RUN: not llc -O0 -mtriple=spirv64-unknown-unknown %s -o - 
+
+; Interposable aliases are not yet supported.
+ at _ZN3barC1Ev = weak alias void (), ptr addrspace(4) @_ZN3barC2Ev
+
+define spir_func void @_ZN3barC2Ev() addrspace(4) {
----------------
mgcarrasco wrote:

Done. Names are normalized and the tests cover all cases for interposable/non interposable for alias and aliasee.

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


More information about the llvm-commits mailing list