OSDN Git Service

LFTR should avoid a type mismatch with null pointer IVs.
authorAndrew Trick <atrick@apple.com>
Fri, 28 Oct 2011 03:45:11 +0000 (03:45 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 28 Oct 2011 03:45:11 +0000 (03:45 +0000)
commit6f2dd7ebcf5225bb98594c3504ded9a46c7ed11a
tree8370a5896829f4db16408ada5fff4a8e9cc08327
parent3799efab8c028c8928bf55ddd7d39da0e6b62cea
LFTR should avoid a type mismatch with null pointer IVs.

Fixes rdar://10359193 Indvar LinearFunctionTestReplace assertion

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143183 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll [new file with mode: 0644]