aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-04 22:59:58 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-04 22:59:58 +0000
commit4a03775777785ef758cff8c0699a6bf571a1f2b9 (patch)
treea3e8d527e079840bf5627f2e68f73f901728eb1e /lib/CodeGen/MachineModuleInfo.cpp
parentdeafefabae915cf20884fd829d2542f9626786e8 (diff)
For whatever the reason, x86 CallingConv::Fast (i.e. fastcc) was not passing scalar arguments in registers. This patch defines a new fastcc CC which is slightly different from the FastCall CC. In addition to passing integer arguments in ECX and EDX, it also specify doubles are passed in 8-byte slots which are 8-byte aligned (instead of 4-byte aligned). This avoids a potential performance hazard where doubles span cacheline boundaries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions