tqchen commented on PR #12140:
URL: https://github.com/apache/tvm/pull/12140#issuecomment-1204060680
Sorry for delayed reply. Approving as it is a good chunk of improvement. It
would be great to discuss naming and documentation a bit.
When I see LLVMScope, I was expecting LLVM to taken in-effect. But in
reality, we can have multiple `LLVMScope` object, one per LLVMModule. The API
kicks in when we do
```c++
With<LLVMTarget> target(scope, ...)
```
So LLVMScope is not exactly an unique RAII object. Sorry that I missed it
when reading the RFC but it becomes obvious when reading implementation of
LLVMModule.
Perhaps we should consider clarify and rename in this case.
--
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]