aboutsummaryrefslogtreecommitdiff
path: root/libgcc/enable-execute-stack-empty.c
diff options
context:
space:
mode:
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>2023-09-20 22:58:49 +0800
committerRobin Dapp <rdapp@ventanamicro.com>2023-09-20 18:27:08 +0200
commit27282dc0931484c31fa391772499d878afcc746a (patch)
tree00f8ac0e91c22bb4c105172dc283def4104ef363 /libgcc/enable-execute-stack-empty.c
parent75c4b0cde4835b45350da0a5cd82f1d1a0a7a2f1 (diff)
downloadgcc-27282dc0931484c31fa391772499d878afcc746a.zip
gcc-27282dc0931484c31fa391772499d878afcc746a.tar.gz
gcc-27282dc0931484c31fa391772499d878afcc746a.tar.bz2
internal-fn: Support undefined rtx for uninitialized SSA_NAME[PR110751]
According to PR: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 As Richard and Richi suggested, we recognize uninitialized SSA_NAME and convert it into SCRATCH rtx if the target predicate allows SCRATCH. It can help to reduce redundant data move instructions of targets like RISC-V. Bootstrap and Regression on x86 passed. gcc/ChangeLog: PR target/110751 * internal-fn.cc (expand_fn_using_insn): Support undefined rtx value. * optabs.cc (maybe_legitimize_operand): Ditto. (can_reuse_operands_p): Ditto. * optabs.h (enum expand_operand_type): Ditto. (create_undefined_input_operand): Ditto.
Diffstat (limited to 'libgcc/enable-execute-stack-empty.c')
0 files changed, 0 insertions, 0 deletions