diff options
author | Richard Guenther <rguenther@suse.de> | 2011-07-25 08:30:46 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2011-07-25 08:30:46 +0000 |
commit | ebeadd9141ed7d9335e1612029ba3b6115e1bb26 (patch) | |
tree | bb094ce476757d492245a62154085f6ad83c0612 /gcc/tree-flow.h | |
parent | d92562770a09498c0e39214b59ecfd3725198a8d (diff) | |
download | gcc-ebeadd9141ed7d9335e1612029ba3b6115e1bb26.zip gcc-ebeadd9141ed7d9335e1612029ba3b6115e1bb26.tar.gz gcc-ebeadd9141ed7d9335e1612029ba3b6115e1bb26.tar.bz2 |
re PR tree-optimization/49715 (Could do more efficient unsigned-to-float to conversions based on range information)
2011-07-25 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49715
* tree-vrp.c: Include expr.h and optabs.h.
(range_fits_type_): New function.
(simplify_float_conversion_using_ranges): Likewise.
(simplify_stmt_using_ranges): Call it.
* Makefile.in (tree-vrp.o): Add $(EXPR_H) and $(OPTABS_H) dependencies.
* optabs.c (can_float_p): Export.
* optabs.h (can_float_p): Declare.
* gcc.target/i386/pr49715-1.c: New testcase.
* gcc.target/i386/pr49715-2.c: Likewise.
From-SVN: r176735
Diffstat (limited to 'gcc/tree-flow.h')
0 files changed, 0 insertions, 0 deletions