[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)
commit2670f4a5509d5697fff7a2ae22a783cb0eb89d65
tree96486b46e64db57ab6eaafe019d730fc638f023a
parent17ae83a25f283d491904f74c759c30f27dbc8225
[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

llvm-svn: 243493
llvm/lib/Target/ARM/ARM.td
llvm/lib/Target/ARM/ARMSubtarget.cpp
llvm/lib/Target/ARM/ARMSubtarget.h
llvm/test/CodeGen/ARM/2011-10-26-memset-inline.ll
llvm/test/CodeGen/ARM/build-attributes.ll
llvm/test/CodeGen/ARM/fast-isel-align.ll
llvm/test/CodeGen/ARM/memcpy-inline.ll
llvm/test/CodeGen/ARM/unaligned_load_store.ll
llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll