[ARM] Define subtarget feature strict-align.
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 28 Jul 2015 22:44:28 +0000 (22:44 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 28 Jul 2015 22:44:28 +0000 (22:44 +0000)
commit4fb2f3310a51e463e243286e7049c10082da0e5a
treed6fda6bc9d2720d5ba2b2e4524219ab4f4ce927f
parentdb059db6ad199a4188d6a5ce3e7812e291afeb6e
[ARM] Define subtarget feature strict-align.

This commit defines subtarget feature strict-align and uses it instead of
cl::opt -arm-strict-align to decide whether strict alignment should be
forced. Also, remove the logic that was checking the OS and architecture
as clang is now responsible for setting strict-align based on the command
line options specified and the target architecute and OS.

rdar://problem/21529937

http://reviews.llvm.org/D11470

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243493 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
test/CodeGen/ARM/2011-10-26-memset-inline.ll
test/CodeGen/ARM/build-attributes.ll
test/CodeGen/ARM/fast-isel-align.ll
test/CodeGen/ARM/memcpy-inline.ll
test/CodeGen/ARM/unaligned_load_store.ll
test/CodeGen/Thumb/cortex-m0-unaligned-access.ll