XCore: vararg fix

Robert Lytton robert at xmos.com
Mon Jul 29 02:35:38 PDT 2013


note to self,


+  InChain = DAG.getStore(VAList.getValue(1), dl, nextPtr, VAListPtr,
+                      MachinePointerInfo(SV), false, false, 0);

second line needs aligning viz:
+  InChain = DAG.getStore(VAList.getValue(1), dl, nextPtr, VAListPtr,
+                         MachinePointerInfo(SV), false, false, 0);

robert

________________________________
From: Robert Lytton
Sent: 26 July 2013 17:42
To: llvm-commits at cs.uiuc.edu
Cc: Richard Osborne
Subject: XCore: vararg fix

Hi Richard,

Here are two patches for fixing vararg handling in the xcore backend.

'PatchRenameFile' renames:
    test/CodeGen/XCore/2011-08-01-VarargsBug.ll
    test/CodeGen/XCore/varargs.ll

'PatchVarArgs' is the fix and added test

Robet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130729/470dbb38/attachment.html>


More information about the llvm-commits mailing list