Change allowsUnalignedMemoryAccesses to take type argument since some targets
authorEvan Cheng <evan.cheng@apple.com>
Sat, 15 Aug 2009 19:23:44 +0000 (19:23 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 15 Aug 2009 19:23:44 +0000 (19:23 +0000)
commit088880cb192fb6dd5b1bf85af62023c5ca3da38f
tree7f853b0f105802fbeebda3277652cdfc67e1cba2
parente93f37350d827cc35c151e5820c58c822d33afad
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