Fix this recently moved code to use the correct type. CI is now a
authorDan Gohman <gohman@apple.com>
Sun, 2 Nov 2008 00:17:33 +0000 (00:17 +0000)
committerDan Gohman <gohman@apple.com>
Sun, 2 Nov 2008 00:17:33 +0000 (00:17 +0000)
commit21440acc06b6451ad5c0678e3f15ee08b1f1d206
tree35eaa0707239c0a269d3baf84082a56dfb0f10e0
parent3efcd4a65cdf41ec72205757421dca6026e92a19
Fix this recently moved code to use the correct type. CI is now a
ConstantInt, and SI is the original cast instruction. This fixes
PR2996.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58549 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/pr2996.ll [new file with mode: 0644]