llvm-project/polly/lib/Support
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
..
DumpModulePass.cpp [Support] Rename tool_output_file to ToolOutputFile, NFC 2017-09-23 01:03:17 +00:00
GICHelper.cpp [Support] Force instantiation of isl dump() methods. NFC. 2017-09-28 09:51:04 +00:00
ISLTools.cpp [ISLTools] Translate computeReachingWrite to isl++. NFC. 2017-10-24 15:19:46 +00:00
Mainpage.h
PollyPasses.def [JSON][PM] Port json import/export over to new pm 2017-08-10 14:45:09 +00:00
RegisterPasses.cpp Add more statistics. 2017-08-23 13:50:30 +00:00
SCEVAffinator.cpp Run polly-update-format. NFC. 2017-11-21 19:25:26 +00:00
SCEVValidator.cpp [ScopInfo] Allow uniform branch conditions 2017-09-25 16:37:15 +00:00
ScopHelper.cpp Handle Top-Level-Regions in polly::isHoistableLoad 2017-11-30 13:06:10 +00:00
ScopLocation.cpp clang-tidy: Add llvm namespace comments 2016-06-23 22:17:27 +00:00
VirtualInstruction.cpp [Simplify] Mark (and sweep) based on latest access relation. 2017-10-26 12:34:36 +00:00