if loop induction variable is always sign or zero extended then
authorDevang Patel <dpatel@apple.com>
Tue, 9 Sep 2008 21:41:07 +0000 (21:41 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 9 Sep 2008 21:41:07 +0000 (21:41 +0000)
commitd22a849282c45bbf7eb1734c274294d81e49e3a8
tree524d3ef9f5fdb159b4d64473f2d9ee4a6bb5cee4
parentbd6dc7a086142fec46b28b8c1f4e75a0d9500f6d
if loop induction variable is always sign or zero extended then
extend the type of induction variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56017 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
test/Transforms/IndVarsSimplify/2008-09-02-IVType.ll [new file with mode: 0644]