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