diff options
author | Dan Gohman <gohman@apple.com> | 2007-07-02 15:48:56 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-07-02 15:48:56 +0000 |
commit | 23ff1826b9c848c0627747f3de976b6c99c94b4b (patch) | |
tree | fed63e88f12981fce8fface18d5a27ec5a41abae /lib/CodeGen/MachineBasicBlock.cpp | |
parent | 03de31acaea8f549e9a957a0b5231bcbc719df0a (diff) |
Teach GetNegatedExpression to negate 0-B to B in UnsafeFPMath mode, and
visitFSUB to fold 0-B to -B in UnsafeFPMath mode. Also change visitFNEG
to use isNegatibleForFree/GetNegatedExpression instead of doing a subset
of the same thing manually.
This fixes test/CodeGen/X86/negative-sin.ll.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions