summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMAsmPrinter.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/ARMAsmPrinter.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/ARMAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMAsmPrinter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
index ff43d46327c..ee01fcfb669 100644
--- a/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/llvm/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -808,7 +808,7 @@ void ARMAsmPrinter::emitAttributes() {
if (Subtarget->hasNEON() && emitFPU) {
/* NEON is not exactly a VFP architecture, but GAS emit one of
* neon/neon-fp-armv8/neon-vfpv4/vfpv3/vfpv2 for .fpu parameters */
- if (Subtarget->hasV8FP())
+ if (Subtarget->hasFPARMv8())
AttrEmitter->EmitTextAttribute(ARMBuildAttrs::Advanced_SIMD_arch,
"neon-fp-armv8");
else if (Subtarget->hasVFP4())
@@ -821,10 +821,10 @@ void ARMAsmPrinter::emitAttributes() {
emitFPU = false;
}
- /* V8FP + .fpu */
- if (Subtarget->hasV8FP()) {
+ /* FPARMv8 + .fpu */
+ if (Subtarget->hasFPARMv8()) {
AttrEmitter->EmitAttribute(ARMBuildAttrs::VFP_arch,
- ARMBuildAttrs::AllowV8FPA);
+ ARMBuildAttrs::AllowFPARMv8A);
if (emitFPU)
AttrEmitter->EmitTextAttribute(ARMBuildAttrs::VFP_arch, "fp-armv8");
/* VFPv4 + .fpu */
OpenPOWER on IntegriCloud