[DeLICM] Avoid assertion on out-of-quota.
commitdee8b599247802be9335e51a3a3d2ae20ba1c7f4
authorMichael Kruse <llvm@meinersbur.de>
Wed, 16 May 2018 16:39:51 +0000 (16 16:39 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Wed, 16 May 2018 16:39:51 +0000 (16 16:39 +0000)
tree9428762d1397d4aef4534bf75430eb86311e4772
parentc9bf383322fed4af4afb8efea086184095088e8e
[DeLICM] Avoid assertion on out-of-quota.

An assertion was not prepared to be passed a nullptr because the
out-of-quota limit was exceeded.  Bail-out before the assertion
since the assertion does not apply on out-of-quote.

This fixes llvm.org/PR37477.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@332488 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/ISLTools.cpp
test/DeLICM/outofquota-reverseDomain.ll [new file with mode: 0644]