diff options
author | Caroline Tice <cmtice@google.com> | 2018-09-21 18:34:59 +0000 |
---|---|---|
committer | Caroline Tice <cmtice@google.com> | 2018-09-21 18:34:59 +0000 |
commit | 62279730e2e2f22f24ee81896b8986c24e7fcd2e (patch) | |
tree | de2d2dde64b561bc3a80d9fd874f9abd49ca7a6a /llvm/lib/IR/Module.cpp | |
parent | c4bc88b541e98ccdb1257ce4999bdf57b135846a (diff) | |
download | llvm-62279730e2e2f22f24ee81896b8986c24e7fcd2e.zip llvm-62279730e2e2f22f24ee81896b8986c24e7fcd2e.tar.gz llvm-62279730e2e2f22f24ee81896b8986c24e7fcd2e.tar.bz2 |
Add necessary support for storing code-model to module IR.
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 does what is necessary in
the front end to pass the code-model to the module, so that the back
end can store it in the Module .
Differential Revision: https://reviews.llvm.org/D52323
llvm-svn: 342758
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions