LoopVectorizer: Don't count the induction variable multiple times
authorArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 29 Jan 2014 04:36:12 +0000 (04:36 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 29 Jan 2014 04:36:12 +0000 (04:36 +0000)
commit8dc253e97b1a119acb9a8f3c2f8305871a3906e1
treee8e9696b7ec700f2a28f5cd919bc931a889272e0
parentc86f56a506b121c956101888c46c060258986fb5
LoopVectorizer: Don't count the induction variable multiple times

When estimating register pressure, don't count the induction variable mulitple
times. It is unlikely to be unrolled. This is currently disabled and hidden
behind a flag ("enable-ind-var-reg-heur").

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200371 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp