Codegen:Do not invalidate dominator tree when bailing out during code generation
authorTobias Grosser <tobias@grosser.es>
Wed, 23 Mar 2016 06:57:51 +0000 (06:57 +0000)
committerTobias Grosser <tobias@grosser.es>
Wed, 23 Mar 2016 06:57:51 +0000 (06:57 +0000)
commitbfb6a9683bd9b9812ee58af2181d190b07e7221c
treef504e1ebd2c198f84e2b0172597fbebfbc423fe5
parent5d6d9ebc4d134e7569cad799a5911a529a18a504
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>
llvm-svn: 264142
polly/lib/CodeGen/CodeGeneration.cpp
polly/test/Isl/CodeGen/stack-overflow-in-load-hoisting.ll