[llvm] [SPIR-V] Handle ASM with multiple outputs (PR #187128)

Dmitry Sidorov via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 07:09:11 PDT 2026


================
@@ -592,9 +595,11 @@ SPIRVPrepareFunctions::removeAggregateTypesFromSignature(Function *F) {
   return NewF;
 }
 
-// Mutates indirect callsites iff if aggregate argument/return types are present
-// with the types replaced by i32 types. The change in types is noted in
-// 'spv.mutated_callsites' metadata for later restoration.
+// Mutates indirect and inline ASM callsites iff if aggregate argument/return
----------------
MrSidims wrote:

Or `// Mutates indirect and inline ASM callsites iff aggregate argument/return`. Not sure if `iff if` (aka `if and only if if`) is legit :)

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


More information about the llvm-commits mailing list