Preserve the InBounds flag when evaluating a getelementptr instruction
authorDan Gohman <gohman@apple.com>
Mon, 7 Sep 2009 22:34:43 +0000 (22:34 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 7 Sep 2009 22:34:43 +0000 (22:34 +0000)
commit4a7e6b7a15cea1f8ead4d1bb1cf2e3a39a339cb3
treeb4b2b816edb261ac3d50622c8ebf616fa2be113c
parentfd54a898be08e8da12cb2e99dbb63015083940a3
Preserve the InBounds flag when evaluating a getelementptr instruction
into a getelementptr ConstantExpr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81162 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/GlobalOpt.cpp