[LFTR] Add additional PR31181 test cases
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 20 May 2019 19:13:04 +0000 (19:13 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 20 May 2019 19:13:04 +0000 (19:13 +0000)
commite1d38ec8110e0b8f8c8dbe357015e774ffffae26
tree78565857d9148c80713aab11dcbb7383c6a48b51
parent2557ca296a9bec418f0d3595e574f8564a24bd2d
[LFTR] Add additional PR31181 test cases

One case where overflow happens in the first loop iteration, and
two cases where we switch to a dynamically dead IV with post/pre
increment, respectively.

llvm-svn: 361189
llvm/test/Transforms/IndVarSimplify/pr31181.ll