llvm-project/polly/lib
Philip Pfaffe 4fe21814d1 Handle Top-Level-Regions in polly::isHoistableLoad
Summary:
This can be seen as a follow-up on my previous differential [D33411](https://reviews.llvm.org/D33411).
We received a bug report where this error was triggered. I have tried my best to recreate the issue in a minimal lit testcase which is also part of this differential.

I only handle return instructions as predecessors to a virtual TLR-exit right now. From inspecting the codebase, it seems `unreachable` instructions may also be of interest here. If requested, I can extend my patches to consider them as well. I would also apply this on `ScopHelper.cpp::isErrorBlock` (see D33411), of course.

Reviewers: philip.pfaffe, bollu

Reviewed By: bollu

Subscribers: Meinersbur, pollydev, llvm-commits

Tags: #polly

Differential Revision: https://reviews.llvm.org/D40492

llvm-svn: 319431
2017-11-30 13:06:10 +00:00
..
Analysis Update format after clang-format change. NFC. 2017-11-30 12:05:48 +00:00
CodeGen [CodeGen] Detect empty domain because of parameters context. 2017-11-21 22:11:10 +00:00
Exchange Port ScopInfo to the isl cpp bindings 2017-11-19 22:13:34 +00:00
External Move include/isl-noexceptions.h to include/isl/isl-noexceptions.h 2017-08-22 22:04:22 +00:00
Support Handle Top-Level-Regions in polly::isHoistableLoad 2017-11-30 13:06:10 +00:00
Transform [MaximalStaticExpansion] Simplify this code a bit. NFCI. 2017-11-25 23:01:31 +00:00
CMakeLists.txt [ScopInliner] Add a simple Scop-based inliner to polly. 2017-08-17 21:57:23 +00:00
Polly.cpp Drop '@brief' from doxygen comments 2016-09-02 06:33:33 +00:00