[ScopInfo] Allow PHI nodes that reference an error block
commit0db98a4837b6f233063307bb9184374175401922
authorTobias Grosser <tobias@grosser.es>
Tue, 26 Sep 2017 15:00:10 +0000 (26 15:00 +0000)
committerTobias Grosser <tobias@grosser.es>
Tue, 26 Sep 2017 15:00:10 +0000 (26 15:00 +0000)
tree33cbea360972a7fed6c5ecc72810383c55ed3aee
parentd6388623cb89085aed7857a2884656b78403c28f
[ScopInfo] Allow PHI nodes that reference an error block

As long as these PHI nodes are only referenced by terminator instructions.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@314212 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScopDetection.cpp
test/ScopInfo/condition-after-error-block-2.ll [new file with mode: 0644]