From f3bfd799e1ca3b52b8e5ad45fdd0f2505c9122d1 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 24 Jan 2022 07:23:24 -0300 Subject: Fix calls passing V128 values on Linux (#3034) * Fix calls passing V128 values on Linux * PPTC version bump --- ARMeilleure/CodeGen/X86/PreAllocator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ARMeilleure/CodeGen') diff --git a/ARMeilleure/CodeGen/X86/PreAllocator.cs b/ARMeilleure/CodeGen/X86/PreAllocator.cs index 334f8f7e..72bf64ed 100644 --- a/ARMeilleure/CodeGen/X86/PreAllocator.cs +++ b/ARMeilleure/CodeGen/X86/PreAllocator.cs @@ -796,6 +796,8 @@ namespace ARMeilleure.CodeGen.X86 } } + node.SetSources(sources.ToArray()); + if (dest != default) { if (dest.Type == OperandType.V128) @@ -823,8 +825,6 @@ namespace ARMeilleure.CodeGen.X86 node.Destination = retReg; } } - - node.SetSources(sources.ToArray()); } private static void HandleTailcallSystemVAbi(IntrusiveList nodes, StackAllocator stackAlloc, Operation node) -- cgit v1.2.3