aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-ch.c
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2021-09-03 09:58:29 +0200
committerAldy Hernandez <aldyh@redhat.com>2021-09-03 15:30:56 +0200
commitbccf4b88e184e925ee2d7931e4cf09704f1c3932 (patch)
treef6d2a064075687dd01cca20343ecefd175296e47 /gcc/tree-ssa-loop-ch.c
parent4ce90454c2c81246be993d997cab12e21bc0be68 (diff)
downloadgcc-bccf4b88e184e925ee2d7931e4cf09704f1c3932.zip
gcc-bccf4b88e184e925ee2d7931e4cf09704f1c3932.tar.gz
gcc-bccf4b88e184e925ee2d7931e4cf09704f1c3932.tar.bz2
Improve support for IMAGPART_EXPR and REALPART_EXPR in ranger.
Currently we adjust statements containing an IMAGPART_EXPR if the defining statement was one of a few built-ins known to return boolean types. We can also adjust statements for both IMAGPART_EXPR and REALPART_EXPR where the defining statement is a constant. This patch adds such support, and cleans up the code a bit. Tested on x86-64 Linux. gcc/ChangeLog: * gimple-range-fold.cc (adjust_imagpart_expr): Move from gimple_range_adjustment. Add support for constants. (adjust_realpart_expr): New. (gimple_range_adjustment): Move IMAGPART_EXPR code to adjust_imagpart_expr. * range-op.cc (integral_table::integral_table): Add entry for REALPART_CST.
Diffstat (limited to 'gcc/tree-ssa-loop-ch.c')
0 files changed, 0 insertions, 0 deletions