Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
pchintalapudi committed Jan 7, 2023
1 parent e7a1a5a commit 06f01ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/aotcompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ static SmallVector<Partition, 32> partitionModule(Module &M, unsigned threads) {
for (unsigned i = 0; i < threads; ++i) {
pq.push(&partitions[i]);
}

// Assign the root of each partition to a partition, then assign its children to the same one
for (unsigned i = 0; i < partitioner.nodes.size(); ++i) {
auto root = partitioner.find(i);
Expand Down Expand Up @@ -1029,7 +1029,7 @@ static void add_output(Module &M, TargetMachine &TM, std::vector<std::string> &o
dbgs() << "Time to add output: " << (end - start) / 1e9 << "s\n";
return;
}

start = jl_hrtime();
uint64_t counter = 0;
for (auto &G : M.global_values()) {
Expand Down Expand Up @@ -1068,7 +1068,7 @@ static void add_output(Module &M, TargetMachine &TM, std::vector<std::string> &o
materializePreserved(*M, partitions[i]);
end = jl_hrtime();
dbgs() << "Materialization time for shard " << i << ": " << (end - start) / 1e9 << "s\n";

start = jl_hrtime();
construct_vars(*M, partitions[i]);
M->setModuleFlag(Module::Error, "julia.mv.suffix", MDString::get(M->getContext(), "_" + std::to_string(i)));
Expand Down Expand Up @@ -1288,7 +1288,7 @@ void jl_dump_native_impl(void *native_code,
!!unopt_bc_fname, !!bc_fname, !!obj_fname, !!asm_fname,
threads
); };

compile(*dataM, "text", threads);

end = jl_hrtime();
Expand Down Expand Up @@ -1407,7 +1407,7 @@ void jl_dump_native_impl(void *native_code,
if (asm_fname)
handleAllErrors(writeArchive(asm_fname, asm_Archive, true,
Kind, true, false), reportWriterError);

end = jl_hrtime();

dbgs() << "archive time: " << (end - start) / 1e9 << "s\n";
Expand Down
2 changes: 1 addition & 1 deletion src/llvm-multiversioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ static bool runMultiVersioning(Module &M, bool allow_bad_fvars)
return false;

CloneCtx clone(M, allow_bad_fvars);

clone.prepare_slots();

clone.clone_decls();
Expand Down

0 comments on commit 06f01ed

Please sign in to comment.