aboutsummaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/integer-overflow.c
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-06-26 12:53:31 +0000
committerDuncan Sands <baldrick@free.fr>2010-06-26 12:53:31 +0000
commit3a5cb69cb850ed6f67c3212d3859a29595b9a83a (patch)
tree7b8f646da32c3a609218c836a477b3125c040609 /clang/test/CodeGen/integer-overflow.c
parent7d4038dd88045a5f089dea3075f17be7015a45bb (diff)
downloadllvm-3a5cb69cb850ed6f67c3212d3859a29595b9a83a.zip
llvm-3a5cb69cb850ed6f67c3212d3859a29595b9a83a.tar.gz
llvm-3a5cb69cb850ed6f67c3212d3859a29595b9a83a.tar.bz2
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
Diffstat (limited to 'clang/test/CodeGen/integer-overflow.c')
0 files changed, 0 insertions, 0 deletions