commit | a53c520ec5d53932bb176e6a377b7643e9eadbcb | [log] [tgz] |
---|---|---|
author | Caroline Tice <cmtice@google.com> | Fri Sep 21 18:41:31 2018 +0000 |
committer | Caroline Tice <cmtice@google.com> | Fri Sep 21 18:41:31 2018 +0000 |
tree | eec69019ae9b58b55163d176fc5f26e8eec86d8b | |
parent | c146db294367581ae9e886bf70a17e2a857d350c [diff] |
Pass code-model through Module IR to LTO which will use it. Currently the code-model does not get saved in the module IR, so if a code model is specified when compiling with LTO, it gets lost and is not propagated properly to LTO. This patch, along with one for the front end, fixes that. Differential Revision: https://reviews.llvm.org/D52322 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342760 91177308-0d34-0410-b5e6-96231b3b80d8