forked from OSchip/llvm-project
Drop redundant condition
This condition was accidentally introduced in r211875. llvm-svn: 237796
This commit is contained in:
parent
c3aeb85fe5
commit
9a6bef8ba4
|
@ -740,9 +740,6 @@ Region *ScopDetection::expandRegion(Region &R) {
|
|||
if (!allBlocksValid(Context) || Context.Log.hasErrors())
|
||||
break;
|
||||
|
||||
if (Context.Log.hasErrors())
|
||||
break;
|
||||
|
||||
// Delete unnecessary regions (allocated by getExpandedRegion)
|
||||
if (LastValidRegion)
|
||||
delete LastValidRegion;
|
||||
|
|
Loading…
Reference in New Issue