aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorHaochen Gui <guihaoc@gcc.gnu.org>2024-06-24 13:12:51 +0800
committerHaochen Gui <guihaoc@gcc.gnu.org>2024-06-24 13:17:27 +0800
commitea8061f46a301797e7ba33b52e3b4713fb8e6b48 (patch)
tree5af1a6d1acda729a73aba45c730b5e04b1df28a7 /gcc/system.h
parentd820db38870155d941ffcad5846389e0de059534 (diff)
downloadgcc-ea8061f46a301797e7ba33b52e3b4713fb8e6b48.zip
gcc-ea8061f46a301797e7ba33b52e3b4713fb8e6b48.tar.gz
gcc-ea8061f46a301797e7ba33b52e3b4713fb8e6b48.tar.bz2
fwprop: invoke change_is_worthwhile to judge if a replacement is worthwhile
gcc/ * fwprop.cc (try_fwprop_subst_pattern): Invoke change_is_worthwhile to judge if a replacement is worthwhile. Remove single_set check and add is_debug_insn check. * recog.cc (swap_change): Invalidate recog_data when the cached INSN is swapped out. * rtl-ssa/changes.cc (rtl_ssa::changes_are_worthwhile): Check if the insn cost of new rtl is unknown and fail the replacement.
Diffstat (limited to 'gcc/system.h')
0 files changed, 0 insertions, 0 deletions