Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | revert r310985 which breaks for the following case: | Dehao Chen | 2017-08-27 | 1 | -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 Chen | 2017-08-16 | 1 | -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 |