Change allowsUnalignedMemoryAccesses to take type argument since some targets
commitc109ecf5d6f45edee969a74caabf24213a70d6dc
authorEvan Cheng <evan.cheng@apple.com>
Sat, 15 Aug 2009 19:23:44 +0000 (15 19:23 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 15 Aug 2009 19:23:44 +0000 (15 19:23 +0000)
tree7f853b0f105802fbeebda3277652cdfc67e1cba2
parentd1a2039ad2fde73d67ea12d7b40d55bec253febc
Change allowsUnalignedMemoryAccesses to take type argument since some targets
support unaligned mem access only for certain types. (Should it be size
instead?)

ARM v7 supports unaligned access for i16 and i32, some v6 variants support it
as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79127 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/XCore/XCoreISelLowering.cpp
test/CodeGen/ARM/unaligned_load_store.ll