OSDN Git Service

Reapply a fixed version of r133285.
authorBob Wilson <bob.wilson@apple.com>
Fri, 8 Jul 2011 22:09:33 +0000 (22:09 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 8 Jul 2011 22:09:33 +0000 (22:09 +0000)
commite2e86f6bca1c34490e97edf5ab2bb36e9bd4f799
tree19a4d8c46306b8eff1e7450deed8d1fb73efe0ea
parent25e6d48220330d17875d0ae0ad6a45597d5ac36c
Reapply a fixed version of r133285.
This tightens up checking for overflow in alloca sizes, based on feedback
from Duncan and John about the change in r132926.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134749 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCasts.cpp