aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/MachineCopyPropagation.h
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-12 21:35:21 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-12 21:35:21 +0800
commitf8daf08aba1f09c3024a70d3426891112d1662a2 (patch)
treedaf3a5e309e41c3bef92efdb496806061d2a2c02 /backend/include/rcc/CodeGen/MachineCopyPropagation.h
parent8721893d3ba605f5374d9c0c7987af6110355638 (diff)
downloadrcc-project-f8daf08aba1f09c3024a70d3426891112d1662a2.tar.gz
rcc-project-f8daf08aba1f09c3024a70d3426891112d1662a2.tar.xz
[RISCV] Consolidate instruction behavior in RISCVInstrInfo
Diffstat (limited to 'backend/include/rcc/CodeGen/MachineCopyPropagation.h')
-rw-r--r--backend/include/rcc/CodeGen/MachineCopyPropagation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/include/rcc/CodeGen/MachineCopyPropagation.h b/backend/include/rcc/CodeGen/MachineCopyPropagation.h
index e8ee788..43baa7e 100644
--- a/backend/include/rcc/CodeGen/MachineCopyPropagation.h
+++ b/backend/include/rcc/CodeGen/MachineCopyPropagation.h
@@ -10,7 +10,7 @@
namespace rcc {
-class TargetSSAInfo;
+class TargetInstrInfo;
enum class MachineCopyPropagationStage : std::uint8_t {
PreRegisterAllocation,
@@ -23,7 +23,7 @@ struct MachineCopyPropagationOptions final {
class MachineCopyPropagationPass final : public MachineFunctionPass {
public:
- MachineCopyPropagationPass(const TargetSSAInfo &Info, MachineCopyPropagationStage Stage,
+ MachineCopyPropagationPass(const TargetInstrInfo &Info, MachineCopyPropagationStage Stage,
MachineCopyPropagationOptions Options = {}) noexcept
: Info(&Info), Stage(Stage), Options(Options) {}
@@ -37,7 +37,7 @@ private:
const TargetDescription &Target,
MachineActionReplay &Actions) const;
- const TargetSSAInfo *Info;
+ const TargetInstrInfo *Info;
MachineCopyPropagationStage Stage;
MachineCopyPropagationOptions Options;
};