summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2019-02-08 20:48:04 +0000
committerVedant Kumar <vsk@apple.com>2019-02-08 20:48:04 +0000
commit0e5dd512aae057aeceb34089c93a380f8edd37da (patch)
tree51a290d1dceb8edb069a6be22982cf768b1396d6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf333118ee0b23678a7cf5db76cc8c9fa083434a4 (diff)
downloadbcm5719-llvm-0e5dd512aae057aeceb34089c93a380f8edd37da.tar.gz
bcm5719-llvm-0e5dd512aae057aeceb34089c93a380f8edd37da.zip
[CodeExtractor] Restore outputs after creating exit stubs
When CodeExtractor saves the result of InvokeInst at the first insertion point of the 'normal destination' basic block, this block can be omitted in the outlined region, so store is placed outside of the function. The suggested solution is to process saving outputs after creating exit stubs for new function, and stores will be placed in that blocks before return in this case. Patch by Sergei Kachkov! Fixes llvm.org/PR40455. Differential Revision: https://reviews.llvm.org/D57919 llvm-svn: 353562
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud