summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJakub Kuderski <kubakuderski@gmail.com>2017-10-06 03:37:06 +0000
committerJakub Kuderski <kubakuderski@gmail.com>2017-10-06 03:37:06 +0000
commitcbe9fae99dd3604a0dcfa7f0e6910982e9c2edb0 (patch)
tree6d83b373f73b643a9d41bbbae921c24784a9d686 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent08dd582ea030cefafde3cc07c8aade6153f8c4eb (diff)
downloadbcm5719-llvm-cbe9fae99dd3604a0dcfa7f0e6910982e9c2edb0.tar.gz
bcm5719-llvm-cbe9fae99dd3604a0dcfa7f0e6910982e9c2edb0.zip
[CodeExtractor] Fix multiple bugs under certain shape of extracted region
Summary: If the extracted region has multiple exported data flows toward the same BB which is not included in the region, correct resotre instructions and PHI nodes won't be generated inside the exitStub. The solution is simply put the restore instructions right after the definition of output values instead of putting in exitStub. Unittest for this bug is included. Author: myhsu Reviewers: chandlerc, davide, lattner, silvas, davidxl, wmi, kuhar Subscribers: dberlin, kuhar, mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D37902 llvm-svn: 315041
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud