Take advantage of undefined behavior if the source program tries to GEP
authorOwen Anderson <resistor@mac.com>
Mon, 16 Jul 2007 23:34:39 +0000 (23:34 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 16 Jul 2007 23:34:39 +0000 (23:34 +0000)
commitce17b1c1f8761f5fabb4b0531b7127254cdc89de
treefdfffe737f7d407a3ba178840ee7e266ad4cf748
parent162c51828627d89c8b2ddec4f23c5aeec6415737
Take advantage of undefined behavior if the source program tries to GEP
beyond the end of an alloca to make FastDSE faster and more aggressive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39945 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/FastDSE.cpp