[llvm] [Hexagon] Add Loop Alignment pass. (PR #83328)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 28 12:29:50 PST 2024
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 153003416696c2464d296594dac5a36a5a60bac5 5aaa5049b837b68b4d8528184e9d2a65e0e63074 -- llvm/lib/Target/Hexagon/HexagonLoopAlign.cpp llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp llvm/lib/Target/Hexagon/HexagonTargetMachine.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetMachine.h b/llvm/lib/Target/Hexagon/HexagonTargetMachine.h
index c7cb1ddcba..11a23951ed 100644
--- a/llvm/lib/Target/Hexagon/HexagonTargetMachine.h
+++ b/llvm/lib/Target/Hexagon/HexagonTargetMachine.h
@@ -33,9 +33,7 @@ public:
std::optional<CodeModel::Model> CM, CodeGenOptLevel OL,
bool JIT);
~HexagonTargetMachine() override;
- const HexagonSubtarget *getSubtargetImpl() const {
- return &Subtarget;
- }
+ const HexagonSubtarget *getSubtargetImpl() const { return &Subtarget; }
const HexagonSubtarget *getSubtargetImpl(const Function &F) const override;
void registerPassBuilderCallbacks(PassBuilder &PB,
``````````
</details>
https://github.com/llvm/llvm-project/pull/83328
More information about the llvm-commits
mailing list