[PATCH] D41832: LLParser: do not verify LLVM module

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 10:33:35 PST 2018


aprantl added a comment.

Wouldn't it be better to move the `M->setDataLayout(ClDataLayout);` to before we run the Verifier? It seems like we should verify the module in the state that it will be eventually consumed.


https://reviews.llvm.org/D41832





More information about the llvm-commits mailing list