summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMSubtarget.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@apple.com>2015-07-20 23:51:12 +0000
committerAkira Hatanaka <ahatanaka@apple.com>2015-07-20 23:51:12 +0000
commit42427d2c3833ece68daae2d405e2a840bde31a82 (patch)
treea2b73877391013e652e3f2264c450aad32ab200f /llvm/lib/Target/ARM/ARMSubtarget.h
parente35c220c8b10e3f21381ef95f7138cad273e6d96 (diff)
downloadbcm5719-llvm-42427d2c3833ece68daae2d405e2a840bde31a82.tar.gz
bcm5719-llvm-42427d2c3833ece68daae2d405e2a840bde31a82.zip
Revert r242737.
This caused builds to fail with the following error message: error:Too many subtarget features! Bump MAX_SUBTARGET_FEATURES. llvm-svn: 242740
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r--llvm/lib/Target/ARM/ARMSubtarget.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h
index b80dc7051f1..4f9bc372e4b 100644
--- a/llvm/lib/Target/ARM/ARMSubtarget.h
+++ b/llvm/lib/Target/ARM/ARMSubtarget.h
@@ -109,8 +109,8 @@ protected:
/// NoARM - True if subtarget does not support ARM mode execution.
bool NoARM;
- /// ReserveR9 - True if R9 is not available as a general purpose register.
- bool ReserveR9;
+ /// IsR9Reserved - True if R9 is a not available as general purpose register.
+ bool IsR9Reserved;
/// NoMovt - True if MOVT / MOVW pairs are not used for materialization of
/// 32-bit imms (including global addresses).
@@ -413,9 +413,7 @@ public:
return isThumb1Only() && isMClass();
}
- bool isR9Reserved() const {
- return isTargetMachO() ? (ReserveR9 || !HasV6Ops) : ReserveR9;
- }
+ bool isR9Reserved() const { return IsR9Reserved; }
bool useMovt(const MachineFunction &MF) const;
OpenPOWER on IntegriCloud