Refactor isThumb1Only() && isMClass() into a predicate called isV6M()
authorRenato Golin <renato.golin@linaro.org>
Wed, 8 Oct 2014 12:26:16 +0000 (12:26 +0000)
committerRenato Golin <renato.golin@linaro.org>
Wed, 8 Oct 2014 12:26:16 +0000 (12:26 +0000)
commitef2ed3f4652a28a598eedabb00f2e919b7e92784
tree1d280edf28aa0b0c5adaf289a612188d50acd1a2
parent382839279008d88c7a8006a97b22b52f2ee0f693
Refactor isThumb1Only() && isMClass() into a predicate called isV6M()

This must be enforced for all v6M cores, not just the cortex-m0,
irregardless of the user-specified alignment.

Patch by Charlie Turner.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219300 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h