aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/lib/java
diff options
context:
space:
mode:
authorAndrew Pinski <quic_apinski@quicinc.com>2024-10-17 05:30:10 +0000
committerAndrew Pinski <quic_apinski@quicinc.com>2025-05-08 07:24:47 +0000
commitbac74b0d0141a440275797a059c2b43978cd9e1c (patch)
tree4c8936e20b81aaad07e8d50ab4ba15effd98d62d /libjava/classpath/lib/java
parentf2bb7ffe84840d8f4ba6c0e5acdbbad8ca9d3603 (diff)
downloadgcc-bac74b0d0141a440275797a059c2b43978cd9e1c.zip
gcc-bac74b0d0141a440275797a059c2b43978cd9e1c.tar.gz
gcc-bac74b0d0141a440275797a059c2b43978cd9e1c.tar.bz2
phiopt: Use rewrite_to_defined_overflow in move_stmt [PR116938]
As mentioned previously the rewrite in move_stmt should be using gimple_needing_rewrite_undefined/rewrite_to_defined_unconditional instead of just rewriting the VCE. This moves move_stmt over to those APIs. A few testcases needed to be updated due to ABS_EXPR rewrite that happens. Bootstrapped and tested on x86_64-linux-gnu. PR tree-optimization/116938 gcc/ChangeLog: * tree-ssa-phiopt.cc (move_stmt): Use rewrite_to_defined_overflow isntead of manually doing the rewrite of the VCE. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/phi-opt-40.c: Update to expect ABSU_EXPR. * gcc.dg/tree-ssa/phi-opt-41.c: Likewise. Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'libjava/classpath/lib/java')
0 files changed, 0 insertions, 0 deletions