Simplification of trip counting machinery.
authorChris Lattner <sabre@nondot.org>
Wed, 10 Sep 2003 14:51:49 +0000 (14:51 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 10 Sep 2003 14:51:49 +0000 (14:51 +0000)
commit44abf85ae752de4cf70a8aaaff20ebc80c271b0c
tree33494f0f2bcecff3e5345fc0a31280a386ec3c74
parent1a51956d11d718b0226088b56f728fbfdb0b71f2
Simplification of trip counting machinery.
  - make sure to check the indvar type before anything else (efficiency)
  - Make sure to insert the 'add' into the program, even though it'll be
    dead
  - Wrap code at 80 columns
  - Other minor cleanups to reduce indentation level

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8434 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InductionVariable.cpp