mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
80-col fixups.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114943 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
02aba73a9e
commit
a99c3e9acd
@ -1394,7 +1394,8 @@ bool llvm::rewriteARMFrameIndex(MachineInstr &MI, unsigned FrameRegIdx,
|
||||
}
|
||||
|
||||
bool ARMBaseInstrInfo::
|
||||
AnalyzeCompare(const MachineInstr *MI, unsigned &SrcReg, int &CmpMask, int &CmpValue) const {
|
||||
AnalyzeCompare(const MachineInstr *MI, unsigned &SrcReg, int &CmpMask,
|
||||
int &CmpValue) const {
|
||||
switch (MI->getOpcode()) {
|
||||
default: break;
|
||||
case ARM::CMPri:
|
||||
|
@ -53,13 +53,15 @@ bool ARMELFWriterInfo::isPCRelativeRel(unsigned RelTy) const {
|
||||
}
|
||||
|
||||
unsigned ARMELFWriterInfo::getAbsoluteLabelMachineRelTy() const {
|
||||
assert(0 && "ARMELFWriterInfo::getAbsoluteLabelMachineRelTy() not implemented");
|
||||
assert(0 &&
|
||||
"ARMELFWriterInfo::getAbsoluteLabelMachineRelTy() not implemented");
|
||||
return 0;
|
||||
}
|
||||
|
||||
long int ARMELFWriterInfo::computeRelocation(unsigned SymOffset,
|
||||
unsigned RelOffset,
|
||||
unsigned RelTy) const {
|
||||
assert(0 && "ARMELFWriterInfo::getAbsoluteLabelMachineRelTy() not implemented");
|
||||
assert(0 &&
|
||||
"ARMELFWriterInfo::getAbsoluteLabelMachineRelTy() not implemented");
|
||||
return 0;
|
||||
}
|
||||
|
@ -12,7 +12,8 @@
|
||||
// global). Such a transformation can significantly reduce the register pressure
|
||||
// when many globals are involved.
|
||||
//
|
||||
// For example, consider the code which touches several global variables at once:
|
||||
// For example, consider the code which touches several global variables at
|
||||
// once:
|
||||
//
|
||||
// static int foo[N], bar[N], baz[N];
|
||||
//
|
||||
@ -48,7 +49,7 @@
|
||||
// str r0, [r5], #4
|
||||
//
|
||||
// note that we saved 2 registers here almostly "for free".
|
||||
// ===----------------------------------------------------------------------===//
|
||||
// ===---------------------------------------------------------------------===//
|
||||
|
||||
#define DEBUG_TYPE "arm-global-merge"
|
||||
#include "ARM.h"
|
||||
|
Loading…
Reference in New Issue
Block a user