diff options
author | Bob Wilson <bob.wilson@apple.com> | 2009-04-24 17:05:01 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2009-04-24 17:05:01 +0000 |
commit | 35f652a919369ea801dd10f8fb6c1c99ba7620eb (patch) | |
tree | 288760f82d7da9461ae84ce1a776db05af3581b4 /lib/Target/ARM/ARMISelLowering.cpp | |
parent | 99194c9d87ec8d0cdba4b668969f9eda092accc8 (diff) | |
download | external_llvm-35f652a919369ea801dd10f8fb6c1c99ba7620eb.zip external_llvm-35f652a919369ea801dd10f8fb6c1c99ba7620eb.tar.gz external_llvm-35f652a919369ea801dd10f8fb6c1c99ba7620eb.tar.bz2 |
Adjust a comment to reflect what the code does. Splitting a 64-bit argument
between registers and the stack may be required with the APCS ABI, but it
isn't tied to using a particular version of the ARM architecture.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69978 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index a3b7a7d..52828e5 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -1103,7 +1103,7 @@ ARMTargetLowering::LowerFORMAL_ARGUMENTS(SDValue Op, SelectionDAG &DAG) { VA = ArgLocs[++i]; // skip ahead to next loc if (VA.isMemLoc()) { - // must be APCS and older than V5T to split like this + // must be APCS to split like this unsigned ArgSize = VA.getLocVT().getSizeInBits()/8; int FI = MFI->CreateFixedObject(ArgSize, VA.getLocMemOffset()); |