[ORC] Use the new dispatchTask API to run query callbacks.
Dispatching query callbacks, rather than running them on the current thread,
will allow them to be distributed across multiple threads.
lhames on May 9 2021, 11:20 AM.Authored by
I think this commit or the next one (7f9a89f9a2cc55dbfc315aa11416fe3609918199) broke the compilation of the examples. Can you please take a look?
examples/SpeculativeJIT/CMakeFiles/SpeculativeJIT.dir/SpeculativeJIT.cpp.o -c /mnt/disks/ssd0/agent/llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp /mnt/disks/ssd0/agent/llvm-project/llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp:115:15: error: no member named 'setDispatchMaterialization' in 'llvm::orc::ExecutionSession' this->ES->setDispatchMaterialization( ~~~~~~~~ ^ 1 error generated.