summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorShilei Tian <tianshilei1992@gmail.com>2021-12-13 16:18:56 -0500
committerShilei Tian <tianshilei1992@gmail.com>2021-12-13 16:19:08 -0500
commit61051e42c2d5b30ad440b2b275397fc0aa478434 (patch)
tree46c93ec0c24f4dd884107da0de002e6c958f456c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent1c4d9ae83dbbefb5773a5467052e3d398ed28452 (diff)
[LTO] Add a function `LTOCodeGenerator::getMergedModule`
One of the uses of `LTOCodeGenerator` is to take it as a middle+back end. Sometimes it is very helpful to access, especially get information from the optimized module. If the information can be changed in optimization, it cannot be get before the module is added to `LTOCodeGenerator`. This patch adds a function `LTOCodeGenerator::getMergedModule` to access the `MergedModule`. Reviewed By: steven_wu Differential Revision: https://reviews.llvm.org/D114201
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions