hxf0223 opened a new issue, #13608:
URL: https://github.com/apache/tvm/issues/13608

   The TVM main branch build fail with the latest LLVM's main on a Ubuntu 22.04 
desktop.
   TVM git hash: 1d9863470
   LLVM git hash: 11937ca56422
   
   The error at line 
https://github.com/apache/tvm/blob/main/src/target/llvm/codegen_llvm.cc#L365 . 
The prototype of **llvm::PassBuilder** has changed to:
   
   ```C++
   explicit PassBuilder(TargetMachine *TM = nullptr,
                          PipelineTuningOptions PTO = PipelineTuningOptions(),
                          std::optional<PGOOptions> PGOOpt = std::nullopt,
                          PassInstrumentationCallbacks *PIC = nullptr);
   ```
   
   But the caller's 3rd parameter is **llvm::None**.
   Could it be fixed?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to