diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-07-13 18:46:14 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-07-13 18:46:14 +0000 |
commit | ea4cdb7ead622392640fd2f804b451bbc61364b3 (patch) | |
tree | 1fdcd90894ee8ebb2ea721a3520a846fd846427f /test/CodeGen | |
parent | f0193ed8decb2e78d8d5ec4a4eaeed8f3036bf6e (diff) | |
download | llvm-ea4cdb7ead622392640fd2f804b451bbc61364b3.tar.gz llvm-ea4cdb7ead622392640fd2f804b451bbc61364b3.tar.bz2 llvm-ea4cdb7ead622392640fd2f804b451bbc61364b3.tar.xz |
-enable-unsafe-fp-math should not imply -enable-finite-only-fp-math.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/X86/2006-05-22-FPSetEQ.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/fabs.ll | 2 | ||||
-rw-r--r-- | test/CodeGen/X86/sse-minmax.ll | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/X86/2006-05-22-FPSetEQ.ll b/test/CodeGen/X86/2006-05-22-FPSetEQ.ll index 083d06805f..2d7bd27d24 100644 --- a/test/CodeGen/X86/2006-05-22-FPSetEQ.ll +++ b/test/CodeGen/X86/2006-05-22-FPSetEQ.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -march=x86 | grep setnp -; RUN: llc < %s -march=x86 -enable-unsafe-fp-math | \ +; RUN: llc < %s -march=x86 -enable-unsafe-fp-math -enable-finite-only-fp-math | \ ; RUN: not grep setnp define i32 @test(float %f) { diff --git a/test/CodeGen/X86/fabs.ll b/test/CodeGen/X86/fabs.ll index 54947c394b..23b45ebb8d 100644 --- a/test/CodeGen/X86/fabs.ll +++ b/test/CodeGen/X86/fabs.ll @@ -1,7 +1,7 @@ ; Make sure this testcase codegens to the fabs instruction, not a call to fabsf ; RUN: llc < %s -march=x86 -mattr=-sse2,-sse3,-sse | grep fabs\$ | \ ; RUN: count 2 -; RUN: llc < %s -march=x86 -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math | \ +; RUN: llc < %s -march=x86 -mattr=-sse,-sse2,-sse3 -enable-unsafe-fp-math -enable-finite-only-fp-math | \ ; RUN: grep fabs\$ | count 3 declare float @fabsf(float) diff --git a/test/CodeGen/X86/sse-minmax.ll b/test/CodeGen/X86/sse-minmax.ll index d265bd7366..ebcdc655ee 100644 --- a/test/CodeGen/X86/sse-minmax.ll +++ b/test/CodeGen/X86/sse-minmax.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -march=x86-64 -asm-verbose=false | FileCheck %s -; RUN: llc < %s -march=x86-64 -asm-verbose=false -enable-unsafe-fp-math | FileCheck -check-prefix=UNSAFE %s +; RUN: llc < %s -march=x86-64 -asm-verbose=false -enable-unsafe-fp-math -enable-finite-only-fp-math | FileCheck -check-prefix=UNSAFE %s ; RUN: llc < %s -march=x86-64 -asm-verbose=false -enable-finite-only-fp-math | FileCheck -check-prefix=FINITE %s ; Some of these patterns can be matched as SSE min or max. Some of |