It does, yes: 
https://github.com/llvm/llvm-project/blob/main/llvm/lib/Bitcode/Reader/BitcodeReader.cpp#L91-L99

The flags above come from the latest development branch, so in order to handle 
all LLVM versions we'd need to check all of them since 4.0 (which I'm ok 
doing), and we will need to keep this code up to date with the latest 
developments in LLVM.

On the other hand, these aren't options that are very likely to be used by TVM 
users, and the issue with command line flags only really applies to 
deserialization (since serialization would happen after the flags had been 
saved).  I don't think it's unreasonable to state that we only handle (K1), but 
we'd need to ensure that (K1) also included creation of any data structures 
that assist in modifying or in analysis of llvm::Module.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/tvm-rfcs/pull/83#issuecomment-1180438182
You are receiving this because you are subscribed to this thread.

Message ID: <apache/tvm-rfcs/pull/83/c1180438...@github.com>

Reply via email to