diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-09-12 14:23:19 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-09-12 14:23:19 +0000 |
commit | 25d25832d550c1844d27d2034cec1c8d507fa689 (patch) | |
tree | 8b4b5d744d475013c736f8892112f89da1036642 /include/llvm | |
parent | 9de16c1008e11633ea3df8e095e25f3082c11c32 (diff) | |
download | external_llvm-25d25832d550c1844d27d2034cec1c8d507fa689.zip external_llvm-25d25832d550c1844d27d2034cec1c8d507fa689.tar.gz external_llvm-25d25832d550c1844d27d2034cec1c8d507fa689.tar.bz2 |
Somehow this important part of the patch, where I actually check the Mask,
got lost during my iterations of review.
Thanks to Hal for spotting it!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/MC/MCInstrDesc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/MC/MCInstrDesc.h b/include/llvm/MC/MCInstrDesc.h index 84d6380..214b593 100644 --- a/include/llvm/MC/MCInstrDesc.h +++ b/include/llvm/MC/MCInstrDesc.h @@ -169,7 +169,7 @@ public: std::string &Info) const { if (ComplexDeprecationInfo) return ComplexDeprecationInfo(MI, STI, Info); - if (DeprecatedFeatureMask != 0) { + if ((DeprecatedFeatureMask & STI.getFeatureBits()) != 0) { // FIXME: it would be nice to include the subtarget feature here. Info = "deprecated"; return true; |