OSDN Git Service

Fix a gross typo: ARMv6+ may or may not support unaligned memory operations.
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 30 Jan 2010 14:08:12 +0000 (14:08 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 30 Jan 2010 14:08:12 +0000 (14:08 +0000)
commit90cfc130d618ecb0539e475c343ed805ee124f8d
treea4b2b72ffbd7434c16f9bc29cb77bef6c81880d0
parent49db68fba01722ca032dc5170f8248a9d25f0199
Fix a gross typo: ARMv6+ may or may not support unaligned memory operations.
Even if they are suported by the core, they can be disabled
(this is just a configuration bit inside some register).

Allow unaligned memops on darwin and conservatively disallow them otherwise.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94889 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/unaligned_load_store.ll