[ARM XRay] Try to fix Thumb-only failure
authorRenato Golin <renato.golin@linaro.org>
Thu, 8 Sep 2016 13:45:10 +0000 (13:45 +0000)
committerRenato Golin <renato.golin@linaro.org>
Thu, 8 Sep 2016 13:45:10 +0000 (13:45 +0000)
commitd257373887c36c033ad71d06858e890a47c4f6c4
tree8af786505ee27c98e59d7f1a8f49eab87d8e5492
parent3e848ea5860ec75947e3dc69418e2c1912f419a9
[ARM XRay] Try to fix Thumb-only failure

I mised the check that it had to support ARM to work. This commit tries
to fix that, to make sure we don't emit ARM code in Thumb-only mode.

llvm-svn: 280935
llvm/lib/Target/ARM/ARMSubtarget.cpp