ScopDetection: Make sure we do not accidentally divide by zero
authorTobias Grosser <tobias@grosser.es>
Thu, 8 Sep 2016 14:08:05 +0000 (14:08 +0000)
committerTobias Grosser <tobias@grosser.es>
Thu, 8 Sep 2016 14:08:05 +0000 (14:08 +0000)
commitb316dc166f8ad41c6d845870e065ded9c1c54399
treec61dd61b22d67dfc22821872cae41a243aa9adc8
parentadfc971820733e0e9b9143d46558197c52abb831
ScopDetection: Make sure we do not accidentally divide by zero

This code path is likely never triggered, but by still handling this case
locally we avoid warnings in clangs static analyzer.

llvm-svn: 280939
polly/lib/Analysis/ScopDetection.cpp