Split -enable-finite-only-fp-math to two options:
authorEvan Cheng <evan.cheng@apple.com>
Thu, 15 Jul 2010 22:07:12 +0000 (22:07 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 15 Jul 2010 22:07:12 +0000 (22:07 +0000)
commit60108e96bbc5432f4fe06ba313e64448e97a0e15
tree1a6b4b66886e92d9957d1e0fe28c04ec3beac7ef
parent14ceb87c5132738c30b9f5da8d68d1585902e987
Split -enable-finite-only-fp-math to two options:
-enable-no-nans-fp-math and -enable-no-infs-fp-math. All of the current codegen fp math optimizations only care whether the fp arithmetics arguments and results can never be NaN.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108465 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetOptions.h
lib/CodeGen/Analysis.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp
lib/Target/TargetMachine.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/ARM/fpcmp-opt.ll
test/CodeGen/X86/2006-05-22-FPSetEQ.ll
test/CodeGen/X86/fabs.ll
test/CodeGen/X86/sse-minmax.ll