[llvm] [RISCV] Support load clustering in the MachineScheduler (off by default) (PR #73754)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 29 01:52:24 PST 2023
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 6cf3566850a807085d413dee4a573b3eca7b6bee 499bebe0be74dce5421f50de98da228c74703884 -- llvm/lib/Target/RISCV/RISCVInstrInfo.cpp llvm/lib/Target/RISCV/RISCVInstrInfo.h llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.h b/llvm/lib/Target/RISCV/RISCVInstrInfo.h
index d85ba99819..0954286a41 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.h
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.h
@@ -159,7 +159,8 @@ public:
bool shouldClusterMemOps(ArrayRef<const MachineOperand *> BaseOps1,
ArrayRef<const MachineOperand *> BaseOps2,
- unsigned ClusterSize, unsigned NumBytes) const override;
+ unsigned ClusterSize,
+ unsigned NumBytes) const override;
bool getMemOperandWithOffsetWidth(const MachineInstr &LdSt,
const MachineOperand *&BaseOp,
``````````
</details>
https://github.com/llvm/llvm-project/pull/73754
More information about the llvm-commits
mailing list