diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-23 19:17:06 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-23 19:17:06 +0000 |
commit | 4ccb49a8384d25cfeb65453da059ed1a7a00b5ed (patch) | |
tree | 134fbd8b1af4075f3a0537f8cf1c15ac779c4ac0 /lib/CodeGen/AllocationOrder.cpp | |
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
Diffstat (limited to 'lib/CodeGen/AllocationOrder.cpp')
0 files changed, 0 insertions, 0 deletions