If we have an add, do it in the pointer realm, not the int realm. This is critical...
authorAndrew Lenharth <andrewl@lenharth.org>
Tue, 19 Sep 2006 18:24:51 +0000 (18:24 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Tue, 19 Sep 2006 18:24:51 +0000 (18:24 +0000)
commit16d7955eb0f1e9e000976c4e714e7fd36471ea19
tree0cff570c1d809b27c1fbf7a80033dae8d6f9e796
parente454200b954c8ffc4f7e348376833fcab855dd51
If we have an add, do it in the pointer realm, not the int realm.  This is critical in the linux kernel for pointer analysis correctness

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