diff options
author | Duncan Sands <baldrick@free.fr> | 2010-06-26 12:53:31 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-06-26 12:53:31 +0000 |
commit | d50e9e2566479301e687fc81e16dab7e3c2b50ea (patch) | |
tree | a7591ad25c85aba30c85d2f235391595dc4e4b53 /lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp | |
parent | 7a1d92a2cbc20888260efa7d5ad987dc39fcb134 (diff) |
Fix PR7328: when turning a tail recursion into a loop, need to preserve
the returned value after the tail call if it differs from other return
values. The optimal thing to do would be to introduce a phi node for
the return value, but for the moment just fix the miscompile.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp')
0 files changed, 0 insertions, 0 deletions