aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-06-25 04:12:31 +0000
committerBob Wilson <bob.wilson@apple.com>2010-06-25 04:12:31 +0000
commit86fe66db3ad19bc20dbb9803e4bf032aa6cd1924 (patch)
treea0b743681b73b4dcd065a42b7cce651b8ab4b595 /lib
parent969b9fe379c333bd5065d387da7b43ed90e001de (diff)
downloadexternal_llvm-86fe66db3ad19bc20dbb9803e4bf032aa6cd1924.tar.gz
external_llvm-86fe66db3ad19bc20dbb9803e4bf032aa6cd1924.tar.bz2
external_llvm-86fe66db3ad19bc20dbb9803e4bf032aa6cd1924.zip
Reduce indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106819 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index ceb6806f6d..5c81b6778e 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -4537,14 +4537,13 @@ bool ARMTargetLowering::allowsUnalignedMemoryAccesses(EVT VT) const {
if (!Subtarget->hasV6Ops())
// Pre-v6 does not support unaligned mem access.
return false;
- else {
- // v6+ may or may not support unaligned mem access depending on the system
- // configuration.
- // FIXME: This is pretty conservative. Should we provide cmdline option to
- // control the behaviour?
- if (!Subtarget->isTargetDarwin())
- return false;
- }
+
+ // v6+ may or may not support unaligned mem access depending on the system
+ // configuration.
+ // FIXME: This is pretty conservative. Should we provide cmdline option to
+ // control the behaviour?
+ if (!Subtarget->isTargetDarwin())
+ return false;
switch (VT.getSimpleVT().SimpleTy) {
default: