summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLinearScan.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
commit6c94b99c6285f6f7156edd20fabf4c0918013600 (patch)
tree39d7f0698872c9b85272bc3a19652b3bd64d2b2c /llvm/lib/CodeGen/RegAllocLinearScan.cpp
parent40519f03703d2ee412b5f930f3d2edf79fe260c9 (diff)
downloadbcm5719-llvm-6c94b99c6285f6f7156edd20fabf4c0918013600.tar.gz
bcm5719-llvm-6c94b99c6285f6f7156edd20fabf4c0918013600.zip
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.
llvm-svn: 55807
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud