CodeGeneration: Support only simple regions

llvm-svn: 131351
This commit is contained in:
Tobias Grosser 2011-05-14 19:01:37 +00:00
parent 3c2fd1cf62
commit 76d7c529fb

View File

@ -1364,6 +1364,8 @@ class CodeGeneration : public ScopPass {
return false;
}
assert(R->isSimple() && "Only simple regions supported");
createSeSeEdges(R);
// Create a basic block in which to start code generation.