summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SimplifyCFG/min_dbginfo.ll
Commit message (Collapse)AuthorAgeFilesLines
* revert r310985 which breaks for the following case:Dehao Chen2017-08-271-39/+0
| | | | | | | | | | | | | | | | | | | | | struct string { ~string(); }; void f2(); void f1(int) { f2(); } void run(int c) { string body; while (true) { if (c) f1(c); else f1(c); } } Will recommit once the issue is fixed. llvm-svn: 311864
* Merge debug info when hoist then-else code to if.Dehao Chen2017-08-161-0/+39
Summary: When we move then-else code to if, we need to merge its debug info, otherwise the hoisted instruction may have inaccurate debug info attached. Reviewers: aprantl, probinson, dblaikie, echristo, loladiro Reviewed By: aprantl Subscribers: sanjoy, llvm-commits Differential Revision: https://reviews.llvm.org/D36778 llvm-svn: 310985
OpenPOWER on IntegriCloud