You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/12/13 14:18:14 UTC

[GitHub] [tvm] hxf0223 opened a new issue, #13608: [Bug] TVM build fail with lastest LLVM

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: commits-unsubscribe@tvm.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [tvm] leandron commented on issue #13608: [Bug] TVM build fail with lastest LLVM

Posted by GitBox <gi...@apache.org>.
leandron commented on issue #13608:
URL: https://github.com/apache/tvm/issues/13608#issuecomment-1349052117

   I had a quick look and this commit on LLVM was made about 5 hours ago. Any reason why you need to run with such a recent LLVM hash? Apart from that, I'm sure this can be fixed, would you be interested in submitting a PR?


-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org