mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Change the meaning of predicate hasThumb2 to mean thumb2 ISA is available, not that it's in thumb mode and thumb2 is available. Added isThumb2 predicate to replace the old predicate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -108,7 +108,8 @@ protected:
|
||||
|
||||
bool isThumb() const { return IsThumb; }
|
||||
bool isThumb1Only() const { return IsThumb && (ThumbMode == Thumb1); }
|
||||
bool hasThumb2() const { return IsThumb && (ThumbMode >= Thumb2); }
|
||||
bool isThumb2() const { return IsThumb && (ThumbMode >= Thumb2); }
|
||||
bool hasThumb2() const { return ThumbMode >= Thumb2; }
|
||||
|
||||
bool isR9Reserved() const { return IsR9Reserved; }
|
||||
|
||||
|
Reference in New Issue
Block a user