Skip to content

Commit

Permalink
Fix spelling mistakes reported by codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
margnus1 committed Apr 8, 2024
1 parent f411308 commit b595b6f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/POWERARMTraceBuilder.tcc
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/PartialLoopPurityPass.cpp
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion src/RFSCDecisionTree.h
Expand Up @@ -224,7 +224,7 @@ class RFSCDecisionTree final {
public:
RFSCDecisionTree(std::unique_ptr<RFSCScheduler> 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<DecisionNode>());
}

Expand Down

0 comments on commit b595b6f

Please sign in to comment.