From: Richard Osborne Date: Fri, 26 Jul 2013 09:50:55 +0000 (+0000) Subject: [XCore] Add TODO regarding byval structs X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=21a8e31c9e8efa3b83b1b19ecd9dfaf02d4cb4e5;p=oota-llvm.git [XCore] Add TODO regarding byval structs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187193 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/XCore/XCoreISelLowering.cpp b/lib/Target/XCore/XCoreISelLowering.cpp index 5f3d93531f6..390be5c0350 100644 --- a/lib/Target/XCore/XCoreISelLowering.cpp +++ b/lib/Target/XCore/XCoreISelLowering.cpp @@ -1080,6 +1080,8 @@ XCoreTargetLowering::LowerCCCArguments(SDValue Chain, unsigned LRSaveSize = StackSlotSize; + // TODO: need to make copies of byVal arguments + for (unsigned i = 0, e = ArgLocs.size(); i != e; ++i) { CCValAssign &VA = ArgLocs[i];