OSDN Git Service

Do not rely on the enum values of argument registers A0-A3 being consecutive.
authorAkira Hatanaka <ahatanak@gmail.com>
Fri, 23 Sep 2011 00:58:33 +0000 (00:58 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Fri, 23 Sep 2011 00:58:33 +0000 (00:58 +0000)
commit373e3a4091c85d62eb2ee10dd106ddb4d28be566
tree5758f1263e11a1713c37e6796649bd592b2635b8
parentd8282cd64fd8744ab3d564bef19f9172570024f0
Do not rely on the enum values of argument registers A0-A3 being consecutive.

Define function getNextIntArgReg, which takes a register as a parameter and
returns the next O32 argument integer register. Use this function when double
precision floating point arguments are passed in two integer registers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140363 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp