diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2010-06-25 04:12:31 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2010-06-25 04:12:31 +0000 |
| commit | eadbf9732fd7de3010b3e03a805baec96ce1f8e4 (patch) | |
| tree | 135c6ce50a53e3bb36d66687a9b5b4c3aeb65819 /llvm/lib/Target | |
| parent | f40c42f2cd8967381ba1a11671b796f93e768546 (diff) | |
| download | bcm5719-llvm-eadbf9732fd7de3010b3e03a805baec96ce1f8e4.tar.gz bcm5719-llvm-eadbf9732fd7de3010b3e03a805baec96ce1f8e4.zip | |
Reduce indentation.
llvm-svn: 106819
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index ceb6806f6d5..5c81b6778e2 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/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: |

