diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-11-22 19:24:39 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-11-22 19:24:39 +0000 |
commit | 6ea0aade264e626cce640ddbc96adac7530b1481 (patch) | |
tree | f632a36b5d8baaa83be47a902aee632568024291 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 9fb6e0ba58b03a642576268db2c6a7b8a64aa32b (diff) | |
download | bcm5719-llvm-6ea0aade264e626cce640ddbc96adac7530b1481.tar.gz bcm5719-llvm-6ea0aade264e626cce640ddbc96adac7530b1481.zip |
StructurizeCFG: Fix verification failure with some loops.
If the beginning of the loop was also the entry block
of the function, branches were inserted to the entry block
which isn't allowed. If this occurs, create a new dummy
function entry block that branches to the start of the loop.
llvm-svn: 195493
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions