summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-12-08 02:37:48 +0000
committerJustin Bogner <mail@justinbogner.com>2015-12-08 02:37:48 +0000
commit3135ba9b381aa010a98c7a3b48c9d2338783d480 (patch)
tree2bd4ad552f85f109a481a81e7607b2f9e0917db7 /llvm/test/CodeGen/ARM
parenta98a3be2c49c04bca67a65a46d8e5fa65adc0f68 (diff)
downloadbcm5719-llvm-3135ba9b381aa010a98c7a3b48c9d2338783d480.tar.gz
bcm5719-llvm-3135ba9b381aa010a98c7a3b48c9d2338783d480.zip
AsmPrinter: Use emitGlobalConstantFP to emit elements of constant data
It's strange to duplicate the logic for emitting FP values into emitGlobalConstantDataSequential, and it's even stranger that we end up printing the verbose assembly comments differently between the two paths. Just call into emitGlobalConstantFP rather than crudely duplicating its logic. llvm-svn: 254988
Diffstat (limited to 'llvm/test/CodeGen/ARM')
-rw-r--r--llvm/test/CodeGen/ARM/constants.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/ARM/constants.ll b/llvm/test/CodeGen/ARM/constants.ll
index 3baa103e3d5..75a90bbf0ca 100644
--- a/llvm/test/CodeGen/ARM/constants.ll
+++ b/llvm/test/CodeGen/ARM/constants.ll
@@ -63,7 +63,7 @@ define i32 @f8() nounwind {
float 3.000000e+00> }, align 16
; CHECK: const1
; CHECK: .zero 16
-; CHECK: float 1.0
-; CHECK: float 2.0
-; CHECK: float 3.0
+; CHECK: float 1
+; CHECK: float 2
+; CHECK: float 3
; CHECK: .zero 4
OpenPOWER on IntegriCloud