Codegen:Do not invalidate dominator tree when bailing out during code generation
commit941d26a26b6b53f45ec6bf46d26d1f59c8123b3e
authorTobias Grosser <tobias@grosser.es>
Wed, 23 Mar 2016 06:57:51 +0000 (23 06:57 +0000)
committerTobias Grosser <tobias@grosser.es>
Wed, 23 Mar 2016 06:57:51 +0000 (23 06:57 +0000)
tree168623efadbec254a5589ec0c54178ba785f94d4
parent966f2e3b3b4ef273d9e02d70801aa119fac9b552
Codegen:Do not invalidate dominator tree when bailing out during code generation

When codegenerating invariant loads in some rare cases we cannot generate code
and bail out. This change ensures that we maintain a valid dominator tree
in these situations. This fixes llvm.org/PR26736

Contributed-by: Matthias Reisinger <d412vv1n@gmail.com>
git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@264142 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGeneration.cpp
test/Isl/CodeGen/stack-overflow-in-load-hoisting.ll