commit | d69f85eb416c08e5f803bffccd974745be3d1b2e | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Wed Jun 08 14:23:19 2011 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed Jun 08 14:23:19 2011 +0000 |
tree | 2fcfc38a4aad506c6b9e7134c4a5e8274bb54b81 | |
parent | 0cdca089b289845664d660f0b285499800822919 [diff] |
Fix count. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132749 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/TailDuplication.cpp b/lib/CodeGen/TailDuplication.cpp index ea62b19..c79922e 100644 --- a/lib/CodeGen/TailDuplication.cpp +++ b/lib/CodeGen/TailDuplication.cpp
@@ -247,7 +247,6 @@ } } - NumAddedPHIs += NewPHIs.size(); SSAUpdateVRs.clear(); SSAUpdateVals.clear(); } @@ -273,6 +272,7 @@ MadeChange = true; } } + NumAddedPHIs += NewPHIs.size(); return MadeChange; }