diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-12 22:08:24 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-12 22:08:24 +0000 |
commit | 3931cf94acb998efdb3103f1420bf3ef2bc56afb (patch) | |
tree | 8b6d7de8dbc33570721e455ffea3bdf568221a85 /llvm | |
parent | 2540a8a7bc063c4f5236578a5c93f1f5c46a138f (diff) | |
download | bcm5719-llvm-3931cf94acb998efdb3103f1420bf3ef2bc56afb.tar.gz bcm5719-llvm-3931cf94acb998efdb3103f1420bf3ef2bc56afb.zip |
Remove extraneous braces.
llvm-svn: 186212
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFastISel.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp index 7f52749a8a3..60648137897 100644 --- a/llvm/lib/Target/ARM/ARMFastISel.cpp +++ b/llvm/lib/Target/ARM/ARMFastISel.cpp @@ -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; |