mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
fix formatting; NFC
llvm-svn: 269990
This commit is contained in:
parent
22e87bbb08
commit
428d853c02
@ -567,8 +567,7 @@ Constant *ConstantInt::get(Type *Ty, uint64_t V, bool isSigned) {
|
||||
return C;
|
||||
}
|
||||
|
||||
ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V,
|
||||
bool isSigned) {
|
||||
ConstantInt *ConstantInt::get(IntegerType *Ty, uint64_t V, bool isSigned) {
|
||||
return get(Ty->getContext(), APInt(Ty->getBitWidth(), V, isSigned));
|
||||
}
|
||||
|
||||
@ -592,8 +591,7 @@ Constant *ConstantInt::get(Type *Ty, const APInt& V) {
|
||||
return C;
|
||||
}
|
||||
|
||||
ConstantInt *ConstantInt::get(IntegerType* Ty, StringRef Str,
|
||||
uint8_t radix) {
|
||||
ConstantInt *ConstantInt::get(IntegerType* Ty, StringRef Str, uint8_t radix) {
|
||||
return get(Ty->getContext(), APInt(Ty->getBitWidth(), Str, radix));
|
||||
}
|
||||
|
||||
@ -1539,8 +1537,7 @@ Constant *ConstantExpr::getPointerBitCastOrAddrSpaceCast(Constant *S,
|
||||
return getBitCast(S, Ty);
|
||||
}
|
||||
|
||||
Constant *ConstantExpr::getIntegerCast(Constant *C, Type *Ty,
|
||||
bool isSigned) {
|
||||
Constant *ConstantExpr::getIntegerCast(Constant *C, Type *Ty, bool isSigned) {
|
||||
assert(C->getType()->isIntOrIntVectorTy() &&
|
||||
Ty->isIntOrIntVectorTy() && "Invalid cast");
|
||||
unsigned SrcBits = C->getType()->getScalarSizeInBits();
|
||||
|
Loading…
x
Reference in New Issue
Block a user