Skip to content

Commit

Permalink
Fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
pchintalapudi committed Mar 3, 2023
1 parent 4ad943d commit d717fa7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/aotcompile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,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 @@ -1011,7 +1011,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 @@ -1050,7 +1050,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 @@ -1270,7 +1270,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 @@ -1389,7 +1389,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 @@ -924,7 +924,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
2 changes: 1 addition & 1 deletion src/processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ static inline jl_image_t parse_sysimg(void *hdl, F &&callback)

const void *ids = pointers->target_data;
uint32_t target_idx = callback(ids);

if (pointers->header->version != 1) {
jl_error("Image file is not compatible with this version of Julia");
}
Expand Down

0 comments on commit d717fa7

Please sign in to comment.