llvm-project/llvm/unittests/Transforms
Jakub Kuderski cbe9fae99d [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
2017-10-06 03:37:06 +00:00
..
IPO IR: New representation for CFI and virtual call optimization pass metadata. 2016-06-24 21:21:32 +00:00
Scalar Use a BumpPtrAllocator for Loop objects 2017-09-28 02:45:42 +00:00
Utils [CodeExtractor] Fix multiple bugs under certain shape of extracted region 2017-10-06 03:37:06 +00:00
CMakeLists.txt [PM] Separate the LoopAnalysisManager from the LoopPassManager and move 2017-01-11 09:43:56 +00:00