summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pr2656.ll
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2013-04-30 07:19:58 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2013-04-30 07:19:58 +0000
commitf65e4932f83ac0c36594d97fca73dc9a9fd26672 (patch)
treeb619a3267bf1cd0ab19f0fc4169789f635d30bec /test/CodeGen/X86/pr2656.ll
parent2a839438559bc7d3067ff2166105f47e0af06b37 (diff)
downloadllvm-f65e4932f83ac0c36594d97fca73dc9a9fd26672.tar.gz
llvm-f65e4932f83ac0c36594d97fca73dc9a9fd26672.tar.bz2
llvm-f65e4932f83ac0c36594d97fca73dc9a9fd26672.tar.xz
Refactoring patch.
1. VarArgStyleRegisters: functionality that emits "store" instructions for byval regs moved out into separated method "StoreByValRegs". Before this patch VarArgStyleRegisters had confused use-cases. It was used for both variadic functions and for regular functions with byval parameters. In last case it created new stack-frame and registered it as VarArg frame, that is wrong. This patch replaces VarArgsStyleRegisters usage for byval parameters with StoreByValRegs method. 2. In ARMMachineFunctionInfo, "get/setVarArgsRegSaveSize" was renamed to "get/setArgRegsSaveSize". By the same reason. Sometimes it was used for variadic functions, and sometimes for byval parameters in regular functions. Actually, this property means the size of registers, that keeps arguments, and thats why it was renamed. 3. In ARMISelLowering.cpp, ARMTargetLowering class, in methods computeRegArea and StoreByValRegs, VARegXXXXXX was renamed to ArgRegsXXXXXX still by the same reasons. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pr2656.ll')
0 files changed, 0 insertions, 0 deletions