diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-02-26 07:04:54 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-02-26 07:04:54 +0000 |
| commit | e7c14013f50ab2f99ab6f2f65c1e666a50bb3c80 (patch) | |
| tree | b72ff543370c29e456536e13ca35fcff8c6355a4 /llvm/lib/Bitcode | |
| parent | ce3563445c404c3f56922628a05829ae251c7db0 (diff) | |
| download | bcm5719-llvm-e7c14013f50ab2f99ab6f2f65c1e666a50bb3c80.tar.gz bcm5719-llvm-e7c14013f50ab2f99ab6f2f65c1e666a50bb3c80.zip | |
Fix isNegatibleForFree to not return true for ConstantFP nodes
after legalize. Just because a constant is legal (e.g. 0.0 in SSE)
doesn't mean that its negated value is legal (-0.0). We could make
this stronger by checking to see if the negated constant is actually
legal post negation, but it doesn't seem like a big deal.
llvm-svn: 47591
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions

