[llvm-branch-commits] [lld] [llvm][lld][RISCV] Support x3_reg_usage (PR #84598)
Paul Kirth via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 11 15:36:11 PDT 2024
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/84598
>From 7c9298eea6d8239f9afedc3d6aabb1ec0f71e273 Mon Sep 17 00:00:00 2001
From: Paul Kirth <paulkirth at google.com>
Date: Mon, 11 Mar 2024 15:35:59 -0700
Subject: [PATCH] Update callsite parameter
Created using spr 1.3.4
---
lld/ELF/Arch/RISCV.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lld/ELF/Arch/RISCV.cpp b/lld/ELF/Arch/RISCV.cpp
index b2e0ba17e4efe5..5eb2ce3d64513a 100644
--- a/lld/ELF/Arch/RISCV.cpp
+++ b/lld/ELF/Arch/RISCV.cpp
@@ -1228,8 +1228,8 @@ mergeAttributesSection(const SmallVector<InputSectionBase *, 0> §ions) {
if (r.second) {
firstX3RegUse = sec;
} else {
- mergeX3RegUse(merged.intAttr, firstX3RegUse, sec,
- r.first->getSecond(), *i);
+ mergeX3RegUse(r.first, firstX3RegUse, sec, r.first->getSecond(),
+ *i);
}
}
continue;
More information about the llvm-branch-commits
mailing list