diff options
| author | 2017-01-24 08:32:59 +0000 | |
|---|---|---|
| committer | 2017-01-24 08:32:59 +0000 | |
| commit | 53d771aafdbe5b919f264f53cba3788e2c4cffd2 (patch) | |
| tree | 7eca39498be0ff1e3a6daf583cd9ca5886bb2636 /gnu/llvm/lib/Target/Mips/MipsMachineFunction.cpp | |
| parent | In preparation of compiling our kernels with -ffreestanding, explicitly map (diff) | |
| download | wireguard-openbsd-53d771aafdbe5b919f264f53cba3788e2c4cffd2.tar.xz wireguard-openbsd-53d771aafdbe5b919f264f53cba3788e2c4cffd2.zip | |
Import LLVM 4.0.0 rc1 including clang and lld to help the current
development effort on OpenBSD/arm64.
Diffstat (limited to 'gnu/llvm/lib/Target/Mips/MipsMachineFunction.cpp')
| -rw-r--r-- | gnu/llvm/lib/Target/Mips/MipsMachineFunction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/llvm/lib/Target/Mips/MipsMachineFunction.cpp b/gnu/llvm/lib/Target/Mips/MipsMachineFunction.cpp index f81e64e06f4..d0609b15341 100644 --- a/gnu/llvm/lib/Target/Mips/MipsMachineFunction.cpp +++ b/gnu/llvm/lib/Target/Mips/MipsMachineFunction.cpp @@ -60,7 +60,7 @@ void MipsFunctionInfo::createEhDataRegsFI() { ? &Mips::GPR64RegClass : &Mips::GPR32RegClass; - EhDataRegFI[I] = MF.getFrameInfo()->CreateStackObject(RC->getSize(), + EhDataRegFI[I] = MF.getFrameInfo().CreateStackObject(RC->getSize(), RC->getAlignment(), false); } } @@ -68,12 +68,12 @@ void MipsFunctionInfo::createEhDataRegsFI() { void MipsFunctionInfo::createISRRegFI() { // ISRs require spill slots for Status & ErrorPC Coprocessor 0 registers. // The current implementation only supports Mips32r2+ not Mips64rX. Status - // is always 32 bits, ErrorPC is 32 or 64 bits dependant on architecture, + // is always 32 bits, ErrorPC is 32 or 64 bits dependent on architecture, // however Mips32r2+ is the supported architecture. const TargetRegisterClass *RC = &Mips::GPR32RegClass; for (int I = 0; I < 2; ++I) - ISRDataRegFI[I] = MF.getFrameInfo()->CreateStackObject( + ISRDataRegFI[I] = MF.getFrameInfo().CreateStackObject( RC->getSize(), RC->getAlignment(), false); } @@ -95,7 +95,7 @@ MachinePointerInfo MipsFunctionInfo::callPtrInfo(const GlobalValue *GV) { int MipsFunctionInfo::getMoveF64ViaSpillFI(const TargetRegisterClass *RC) { if (MoveF64ViaSpillFI == -1) { - MoveF64ViaSpillFI = MF.getFrameInfo()->CreateStackObject( + MoveF64ViaSpillFI = MF.getFrameInfo().CreateStackObject( RC->getSize(), RC->getAlignment(), false); } return MoveF64ViaSpillFI; |
