From b9befc5179f792c48f2dbf46c75b019cd3dc1b11 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 4 Jan 2005 01:58:26 +0000 Subject: [PATCH] Test that trivial constants are not printed in hex notation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19281 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/2005-01-03-FPConstantDisassembly.ll | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/Assembler/2005-01-03-FPConstantDisassembly.ll diff --git a/test/Assembler/2005-01-03-FPConstantDisassembly.ll b/test/Assembler/2005-01-03-FPConstantDisassembly.ll new file mode 100644 index 00000000000..bd0d389ff7c --- /dev/null +++ b/test/Assembler/2005-01-03-FPConstantDisassembly.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llvm-dis | grep '1.0' + +double %test() { + ret double 1.0 ;; This should not require hex notation +} + -- 2.34.1