TempScopInfo: Microoptimize constant conditions
authorTobias Grosser <tobias@grosser.es>
Tue, 10 Sep 2013 04:47:19 +0000 (04:47 +0000)
committerTobias Grosser <tobias@grosser.es>
Tue, 10 Sep 2013 04:47:19 +0000 (04:47 +0000)
commite2622c2accc2e865f31a497b62f9bfebf84690f4
tree75230770daa59dfd9c37ee37ec7a4ed8f9e5e230
parentabc1a5cb9b430e9eeddbbd822a19f6197d82e121
TempScopInfo: Microoptimize constant conditions

Use 0 >= 1 instead of 0 != 0 to represent 'false'. This might be slightly more
efficient as isl may create a union of sets for 0 != 0, whereas this is never
needed for the expression 0 >= 1.

Contributed-by: Alexandre Isoard <alexandre.isoard@gmail.com>
llvm-svn: 190384
polly/lib/Analysis/TempScopInfo.cpp