[llvm] [RISCV] Vendor Relocations for Xqci extension (PR #135400)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 16 16:32:46 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions h,cpp -- llvm/include/llvm/MC/MCAsmBackend.h llvm/lib/MC/MCAssembler.cpp llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
index d45fb8efc..87aeacf28 100644
--- a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
+++ b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
@@ -641,8 +641,8 @@ bool RISCVAsmBackend::evaluateVendorFixup(const MCAssembler &Asm,
}
// End copy of MCAssembler::evaluateFixup
- // If we failed to resolve, or we need to force relocations (relaxations), then
- // record a vendor relocation too.
+ // If we failed to resolve, or we need to force relocations (relaxations),
+ // then record a vendor relocation too.
if ((!IsResolved || shouldForceRelocation(Asm, Fixup, Target, STI)) &&
RecordReloc) {
// Here are the additions to emit a vendor relocation for fixups that need
``````````
</details>
https://github.com/llvm/llvm-project/pull/135400
More information about the llvm-commits
mailing list