mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
Remove extraneous braces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5343cfe5c8
commit
adde9da01c
@ -821,22 +821,19 @@ bool ARMFastISel::ARMComputeAddress(const Value *Obj, Address &Addr) {
|
||||
switch (Opcode) {
|
||||
default:
|
||||
break;
|
||||
case Instruction::BitCast: {
|
||||
case Instruction::BitCast:
|
||||
// Look through bitcasts.
|
||||
return ARMComputeAddress(U->getOperand(0), Addr);
|
||||
}
|
||||
case Instruction::IntToPtr: {
|
||||
case Instruction::IntToPtr:
|
||||
// Look past no-op inttoptrs.
|
||||
if (TLI.getValueType(U->getOperand(0)->getType()) == TLI.getPointerTy())
|
||||
return ARMComputeAddress(U->getOperand(0), Addr);
|
||||
break;
|
||||
}
|
||||
case Instruction::PtrToInt: {
|
||||
case Instruction::PtrToInt:
|
||||
// Look past no-op ptrtoints.
|
||||
if (TLI.getValueType(U->getType()) == TLI.getPointerTy())
|
||||
return ARMComputeAddress(U->getOperand(0), Addr);
|
||||
break;
|
||||
}
|
||||
case Instruction::GetElementPtr: {
|
||||
Address SavedAddr = Addr;
|
||||
int TmpOffset = Addr.Offset;
|
||||
|
Loading…
Reference in New Issue
Block a user