mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
Fix 80-col violations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -10300,7 +10300,8 @@ bool InstCombiner::transformConstExprCastCall(CallSite CS) {
|
|||||||
if (NewRetTy == Type::VoidTy)
|
if (NewRetTy == Type::VoidTy)
|
||||||
Caller->setName(""); // Void type should not have a name.
|
Caller->setName(""); // Void type should not have a name.
|
||||||
|
|
||||||
const AttrListPtr &NewCallerPAL = AttrListPtr::get(attrVec.begin(),attrVec.end());
|
const AttrListPtr &NewCallerPAL = AttrListPtr::get(attrVec.begin(),
|
||||||
|
attrVec.end());
|
||||||
|
|
||||||
Instruction *NC;
|
Instruction *NC;
|
||||||
if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
|
if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
|
||||||
@ -10469,7 +10470,8 @@ Instruction *InstCombiner::transformCallThroughTrampoline(CallSite CS) {
|
|||||||
NestF->getType() == Context->getPointerTypeUnqual(NewFTy) ?
|
NestF->getType() == Context->getPointerTypeUnqual(NewFTy) ?
|
||||||
NestF : Context->getConstantExprBitCast(NestF,
|
NestF : Context->getConstantExprBitCast(NestF,
|
||||||
Context->getPointerTypeUnqual(NewFTy));
|
Context->getPointerTypeUnqual(NewFTy));
|
||||||
const AttrListPtr &NewPAL = AttrListPtr::get(NewAttrs.begin(),NewAttrs.end());
|
const AttrListPtr &NewPAL = AttrListPtr::get(NewAttrs.begin(),
|
||||||
|
NewAttrs.end());
|
||||||
|
|
||||||
Instruction *NewCaller;
|
Instruction *NewCaller;
|
||||||
if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
|
if (InvokeInst *II = dyn_cast<InvokeInst>(Caller)) {
|
||||||
@ -11042,7 +11044,8 @@ Instruction *InstCombiner::visitGetElementPtrInst(GetElementPtrInst &GEP) {
|
|||||||
*i = Op;
|
*i = Op;
|
||||||
MadeChange = true;
|
MadeChange = true;
|
||||||
}
|
}
|
||||||
} else if (TD->getTypeSizeInBits(Op->getType()) < TD->getPointerSizeInBits()) {
|
} else if (TD->getTypeSizeInBits(Op->getType())
|
||||||
|
< TD->getPointerSizeInBits()) {
|
||||||
if (Constant *C = dyn_cast<Constant>(Op)) {
|
if (Constant *C = dyn_cast<Constant>(Op)) {
|
||||||
*i = Context->getConstantExprSExt(C, TD->getIntPtrType());
|
*i = Context->getConstantExprSExt(C, TD->getIntPtrType());
|
||||||
MadeChange = true;
|
MadeChange = true;
|
||||||
|
Reference in New Issue
Block a user