]> git.ipfire.org Git - thirdparty/gcc.git/commit
rtl-ssa: Support for creating new uses [PR113070]
authorAlex Coplan <alex.coplan@arm.com>
Fri, 12 Jan 2024 10:14:33 +0000 (10:14 +0000)
committerAlex Coplan <alex.coplan@arm.com>
Tue, 23 Jan 2024 13:22:11 +0000 (13:22 +0000)
commitfce3994d04fc5d7d1c91f6db5a1f144aa291439a
tree9de5d0184a4e3061a5aeab2bc3019f814d578f9c
parente0374b028a665a2ea8d6eb2b4e5862774e9e85c2
rtl-ssa: Support for creating new uses [PR113070]

This exposes an interface for users to create new uses in RTL-SSA.
This is needed for updating uses after inserting a new store pair insn
in the aarch64 load/store pair fusion pass.

gcc/ChangeLog:

PR target/113070
* rtl-ssa/accesses.cc (function_info::create_use): New.
* rtl-ssa/changes.cc (function_info::finalize_new_accesses):
Ensure new uses end up referring to permanent defs.
* rtl-ssa/functions.h (function_info::create_use): Declare.
gcc/rtl-ssa/accesses.cc
gcc/rtl-ssa/changes.cc
gcc/rtl-ssa/functions.h