Skip to content
Commit 3a5cb69c authored by Duncan Sands's avatar Duncan Sands
Browse files

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.

llvm-svn: 106947
parent 7d4038dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment