summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2013-09-13 13:46:57 +0000
committerJoey Gouly <joey.gouly@arm.com>2013-09-13 13:46:57 +0000
commitccd04894c4a5cb6798ad14698f6a71d6e22baeba (patch)
tree6eda9354da6425bcbba50f5bdc3af35e004e7a75 /llvm/lib/Target/ARM/ARMISelLowering.cpp
parente488f5dd1ea9a5eaec8862135a140c63b7452515 (diff)
downloadbcm5719-llvm-ccd04894c4a5cb6798ad14698f6a71d6e22baeba.tar.gz
bcm5719-llvm-ccd04894c4a5cb6798ad14698f6a71d6e22baeba.zip
[ARMv8] Change hasV8Fp to hasFPARMv8, and other command line options
to be more consistent. llvm-svn: 190692
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index 94270eda5ff..c83f7b194ae 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -3258,7 +3258,7 @@ SDValue ARMTargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const {
// inverting the compare condition, swapping 'less' and 'greater') and
// sometimes need to swap the operands to the VSEL (which inverts the
// condition in the sense of firing whenever the previous condition didn't)
- if (getSubtarget()->hasV8FP() && (TrueVal.getValueType() == MVT::f32 ||
+ if (getSubtarget()->hasFPARMv8() && (TrueVal.getValueType() == MVT::f32 ||
TrueVal.getValueType() == MVT::f64)) {
ARMCC::CondCodes CondCode = IntCCToARMCC(CC);
if (CondCode == ARMCC::LT || CondCode == ARMCC::LE ||
@@ -3279,7 +3279,7 @@ SDValue ARMTargetLowering::LowerSELECT_CC(SDValue Op, SelectionDAG &DAG) const {
FPCCToARMCC(CC, CondCode, CondCode2);
// Try to generate VSEL on ARMv8.
- if (getSubtarget()->hasV8FP() && (TrueVal.getValueType() == MVT::f32 ||
+ if (getSubtarget()->hasFPARMv8() && (TrueVal.getValueType() == MVT::f32 ||
TrueVal.getValueType() == MVT::f64)) {
// We can select VMAXNM/VMINNM from a compare followed by a select with the
// same operands, as follows:
OpenPOWER on IntegriCloud