[clang] [llvm] [WebAssembly] Represent reference types as TargetExtType (PR #203165)

Hood Chatham via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 11 08:03:43 PDT 2026


================
@@ -134,7 +133,7 @@ bool WebAssemblyCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder,
             TLI.getRegisterTypeForCallingConv(Ctx, CallConv, OrigVT);
         const LLT OrigLLT =
             getLLTForType(*OrigVT.getTypeForEVT(F.getContext()), DL);
-        const LLT NewLLT = getLLTForWasmMVT(NewVT, DL);
+        const LLT NewLLT = llvm::getLLTForMVT(NewVT);
----------------
hoodmane wrote:

Yeah uh... it is definitely not needed will remove.

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


More information about the cfe-commits mailing list