mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-31 09:32:11 +00:00
Whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2af66dc51a
commit
6016a4a162
@ -484,7 +484,7 @@ bool FastISel::SelectGetElementPtr(const User *I) {
|
||||
if (const ConstantInt *CI = dyn_cast<ConstantInt>(Idx)) {
|
||||
if (CI->isZero()) continue;
|
||||
// N = N + Offset
|
||||
TotalOffs +=
|
||||
TotalOffs +=
|
||||
TD.getTypeAllocSize(Ty)*cast<ConstantInt>(CI)->getSExtValue();
|
||||
if (TotalOffs >= MaxOffs) {
|
||||
N = FastEmit_ri_(VT, ISD::ADD, N, NIsKill, TotalOffs, VT);
|
||||
@ -645,7 +645,7 @@ bool FastISel::SelectCall(const User *I) {
|
||||
BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
|
||||
.addCImm(CI).addImm(DI->getOffset())
|
||||
.addMetadata(DI->getVariable());
|
||||
else
|
||||
else
|
||||
BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL, II)
|
||||
.addImm(CI->getZExtValue()).addImm(DI->getOffset())
|
||||
.addMetadata(DI->getVariable());
|
||||
@ -795,7 +795,7 @@ FastISel::SelectInstruction(const Instruction *I) {
|
||||
DL = DebugLoc();
|
||||
return true;
|
||||
}
|
||||
// Remove dead code. However, ignore call instructions since we've flushed
|
||||
// Remove dead code. However, ignore call instructions since we've flushed
|
||||
// the local value map and recomputed the insert point.
|
||||
if (!isa<CallInst>(I)) {
|
||||
recomputeInsertPt();
|
||||
|
Loading…
Reference in New Issue
Block a user