getRawValue zero extens for unsigned values, use getsextvalue so that we
authorChris Lattner <sabre@nondot.org>
Mon, 5 Dec 2005 18:23:57 +0000 (18:23 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 5 Dec 2005 18:23:57 +0000 (18:23 +0000)
commite08dc62b1a3b72e351165128ba63c2cdd2f41eb6
treed6acd52c6d2d8d425f036f50dd6278d07e3609b0
parentb457a931232938dc1ac8c37be62b7819bc173a03
getRawValue zero extens for unsigned values, use getsextvalue so that we
know that small negative values fit into the immediate field of addressing
modes.

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