commit | 4ccb49a8384d25cfeb65453da059ed1a7a00b5ed | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Fri Nov 23 19:17:06 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Fri Nov 23 19:17:06 2012 +0000 |
tree | 134fbd8b1af4075f3a0537f8cf1c15ac779c4ac0 | |
parent | 5d1e089eaa4ab0080da4e5f61379bba596a4f2b5 [diff] |
CodeGenPrepare: Move ret duplication out of the instruction iteration loop. It can delete the block, and the loop continues on free'd memory. No change in output. Found by valgrind. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168525 91177308-0d34-0410-b5e6-96231b3b80d8