ARM: make sure VFP loads and stores are properly aligned.
authorTim Northover <tnorthover@apple.com>
Mon, 26 Oct 2015 21:32:53 +0000 (21:32 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 26 Oct 2015 21:32:53 +0000 (21:32 +0000)
commit22f4488b9f4e9de6e37850c0730b41fe46adef5c
tree858a7bbc85ce10511892ef1042e42043b0990c33
parente7fce43196af010f802e5bd496d99f6fe4e9c009
ARM: make sure VFP loads and stores are properly aligned.

Both VLDRS and VLDRD fault if the memory is not 4 byte aligned, which wasn't
really being checked before, leading to faults at runtime.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251352 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrVFP.td
test/CodeGen/ARM/unaligned_load_store_vfp.ll [new file with mode: 0644]