[llvm-commits] [llvm] r74871 - /llvm/trunk/lib/Target/ARM/ARMSubtarget.h
Evan Cheng
evan.cheng at apple.com
Mon Jul 6 15:29:14 PDT 2009
Author: evancheng
Date: Mon Jul 6 17:29:14 2009
New Revision: 74871
URL: http://llvm.org/viewvc/llvm-project?rev=74871&view=rev
Log:
isThumb2 really should mean thumb2 only, not thumb2+.
Modified:
llvm/trunk/lib/Target/ARM/ARMSubtarget.h
Modified: llvm/trunk/lib/Target/ARM/ARMSubtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMSubtarget.h?rev=74871&r1=74870&r2=74871&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMSubtarget.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMSubtarget.h Mon Jul 6 17:29:14 2009
@@ -108,7 +108,7 @@
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; }
More information about the llvm-commits
mailing list