From: Evan Cheng Date: Mon, 6 Jul 2009 22:29:14 +0000 (+0000) Subject: isThumb2 really should mean thumb2 only, not thumb2+. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3147fb2cff9ca0d258f8ab20ff23b9c447024df1;p=oota-llvm.git isThumb2 really should mean thumb2 only, not thumb2+. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74871 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index 5110b3157c4..60c3bd13ed7 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/lib/Target/ARM/ARMSubtarget.h @@ -108,7 +108,7 @@ protected: bool isThumb() const { return IsThumb; } bool isThumb1Only() const { return IsThumb && (ThumbMode == Thumb1); } - bool isThumb2() const { return IsThumb && (ThumbMode >= Thumb2); } + bool isThumb2() const { return IsThumb && (ThumbMode == Thumb2); } bool hasThumb2() const { return ThumbMode >= Thumb2; } bool isR9Reserved() const { return IsR9Reserved; }