From fdf4969149e445003724d0fc16b366d245572fcd Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Tue, 11 Jan 2011 01:07:20 +0000 Subject: FileCheck-ize a test, and move a no-longer calling test case to another file and make it actually test something... llvm-svn: 123205 --- llvm/test/Transforms/ConstProp/basictest.ll | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'llvm/test/Transforms/ConstProp/basictest.ll') diff --git a/llvm/test/Transforms/ConstProp/basictest.ll b/llvm/test/Transforms/ConstProp/basictest.ll index 14580c1eab2..df57fb6870b 100644 --- a/llvm/test/Transforms/ConstProp/basictest.ll +++ b/llvm/test/Transforms/ConstProp/basictest.ll @@ -31,3 +31,12 @@ bb: ; CHECK: @test2 ; CHECK: ret i1 true } + +define i1 @TNAN() { +; CHECK: @TNAN +; CHECK: ret i1 true + %A = fcmp uno double 0x7FF8000000000000, 1.000000e+00 + %B = fcmp uno double 1.230000e+02, 1.000000e+00 + %C = or i1 %A, %B + ret i1 %C +} -- cgit v1.2.3