fix PR8932, a case where arg promotion could infinitely promote.
authorChris Lattner <sabre@nondot.org>
Sun, 16 Jan 2011 08:09:24 +0000 (08:09 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 16 Jan 2011 08:09:24 +0000 (08:09 +0000)
commit28252b6f0a483ffb0ead991c7a1ead14e3cd2fc1
tree37f9a090050879c3c2c202697cf765eb033ca4b7
parent54cfe7e027ee56799f3d597fd5095394f66e0ff0
fix PR8932, a case where arg promotion could infinitely promote.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123574 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/ArgumentPromotion.cpp
test/Transforms/ArgumentPromotion/crash.ll