From f8aefba3b13139c589a4cfd33b468d1af1c8bd28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20L=C3=A5ng?= Date: Mon, 8 Apr 2024 20:31:05 +0200 Subject: [PATCH 1/3] Freeze codespell version to avoid nondeterministic CI failures --- .github/workflows/codespell.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index cf71f2040..75fe2f8bd 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: codespell-project/actions-codespell@master + - uses: codespell-project/actions-codespell@v2 with: path: src ignore_words_list: aci,curev,datas,olt,ot,pevent,te From f4113080b98cff019ccc9ceb66005cd1cb5bc9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20L=C3=A5ng?= Date: Mon, 8 Apr 2024 20:35:05 +0200 Subject: [PATCH 2/3] Configure dependabot to check for workflow action updates --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..ac22b57ef --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + # Check for updates to GitHub Actions every week + interval: "monthly" From b595b6f0b0fae5e87b7d8a071cb147eb2deef4db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20L=C3=A5ng?= Date: Mon, 8 Apr 2024 20:37:55 +0200 Subject: [PATCH 3/3] Fix spelling mistakes reported by codespell --- src/POWERARMTraceBuilder.tcc | 6 +++--- src/PartialLoopPurityPass.cpp | 2 +- src/RFSCDecisionTree.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/POWERARMTraceBuilder.tcc b/src/POWERARMTraceBuilder.tcc index 16bc7641e..672900fb0 100644 --- a/src/POWERARMTraceBuilder.tcc +++ b/src/POWERARMTraceBuilder.tcc @@ -1000,7 +1000,7 @@ namespace PATB_impl{ } } - /* Add brances, update relations */ + /* Add branches, update relations */ parameters.reserve(parameters.size() + last - first + 1); for(int i = first; i <= last; ++i){ parameters.push_back(B); @@ -1094,7 +1094,7 @@ namespace PATB_impl{ } } - /* Add brances, update relations */ + /* Add branches, update relations */ parameters.reserve(parameters.size() + last - first + 1); for(int i = last; first <= i; --i){ parameters.push_back(B); @@ -2289,7 +2289,7 @@ namespace PATB_impl{ default: throw std::logic_error("POWERARMTraceBuilder: Unknown type of parameter choice in locked branch."); } - // Add brances to get_evt(prefix[i]).new_branches except for branches[0] + // Add branches to get_evt(prefix[i]).new_branches except for branches[0] union_except_one(get_evt(prefix[i]).new_branches,branches); get_evt(prefix[i]).cur_branch = B; } diff --git a/src/PartialLoopPurityPass.cpp b/src/PartialLoopPurityPass.cpp index 38412c9ff..ad67510e0 100644 --- a/src/PartialLoopPurityPass.cpp +++ b/src/PartialLoopPurityPass.cpp @@ -1540,7 +1540,7 @@ namespace { llvm::Instruction *I = findInsertionPoint(L, conj); if (!I) { if (cl_plp_dbgp >= 1) - llvm::dbgs() << "Not elimiating loop purity: No valid insertion location found\n"; + llvm::dbgs() << "Not eliminating loop purity: No valid insertion location found\n"; continue; } if (cl_plp_dbgp >= 1) llvm::dbgs() << " Insertion point: " << *I << "\n"; diff --git a/src/RFSCDecisionTree.h b/src/RFSCDecisionTree.h index 6a5470251..7b8718b03 100644 --- a/src/RFSCDecisionTree.h +++ b/src/RFSCDecisionTree.h @@ -224,7 +224,7 @@ class RFSCDecisionTree final { public: RFSCDecisionTree(std::unique_ptr scheduler) : scheduler(std::move(scheduler)) { - // Initiallize the work_queue with a "root"-node + // Initialize the work_queue with a "root"-node this->scheduler->enqueue(std::make_shared()); }