ConstantFolding: Tweak r173289, it should evaluate in the intptr type, not the index...
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 23 Jan 2013 21:21:24 +0000 (21:21 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Wed, 23 Jan 2013 21:21:24 +0000 (21:21 +0000)
commit1094b41c7b26089025822c5705b5c771f9b8cda4
treeb4ae70564b1cc676593ee49cced0444ebd8685f3
parentb4d201ec544bbd3aec5e9feaec44df43b6b4bb6c
ConstantFolding: Tweak r173289, it should evaluate in the intptr type, not the index type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173293 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ConstantFolding.cpp