summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2020-07-23 14:19:01 +0100
committerFlorian Hahn <flo@fhahn.com>2020-07-23 14:25:28 +0100
commitecd3f853a85fcfc953046ebff774a1c47295b2ca (patch)
treef92d9d0ed7263538dbddffc5b13d99157765d2c5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentc798628fbdcc88b8e4b478c7a44aac66ccd74256 (diff)
[SCEVExpander] Use IRBuilderCallbackInserter to call rememberInstruction.
Currently there are plenty of instructions that SCEVExpander creates but does not track as created. IRBuilder allows specifying a callback whenever an instruction is inserted. Use this to call rememberInstruction automatically for each created instruction. There are still a few rememberInstruction calls remaining, because in some cases Inst::Create functions are used to construct instructions. Suggested by @lebedev.ri in D75980. Reviewers: mkazantsev, reames, sanjoy.google, lebedev.ri Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D84326
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions