Emit abs.s or abs.d only if -enable-no-nans-fp-math is supplied by user.
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 11 Apr 2012 22:49:04 +0000 (22:49 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 11 Apr 2012 22:49:04 +0000 (22:49 +0000)
commitc12a6e6b53bb6df62a0020bda91206fd149c430a
tree4ca7453c91df79baf7c983becc08db67a941a995
parentb318cc16c9e959adb96294b3aa4940e74f68dde3
Emit abs.s or abs.d only if -enable-no-nans-fp-math is supplied by user.
Invalid operation is signaled if the operand of these instructions is NaN.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154545 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsISelLowering.h
lib/Target/Mips/MipsInstrFPU.td
test/CodeGen/Mips/fabs.ll [new file with mode: 0644]