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 | adde9da01c78dd837a4e32217c9445c2c1aadb27 (patch) | |
tree | 8f7d20a0690a74a4a01f70ae939e6f6bedfe37ca | |
parent | 5343cfe5c8663f35a11fd5ca904f7479c71cd125 (diff) | |
download | external_llvm-adde9da01c78dd837a4e32217c9445c2c1aadb27.zip external_llvm-adde9da01c78dd837a4e32217c9445c2c1aadb27.tar.gz external_llvm-adde9da01c78dd837a4e32217c9445c2c1aadb27.tar.bz2 |
Remove extraneous braces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186212 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMFastISel.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index 7f52749..6064813 100644 --- a/lib/Target/ARM/ARMFastISel.cpp +++ b/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; |