Michael Zolotukhin 1ecdedad8d [LoopUnrollAnalyzer] Fix a crash in analyzeLoopUnrollCost.
Condition might be simplified to a Constant, but it doesn't have to be
ConstantInt, so we should dyn_cast, instead of cast.

This fixes PR27886.

llvm-svn: 270924
2016-05-26 21:42:51 +00:00
..
2016-04-27 03:04:54 +00:00
2016-04-27 03:04:54 +00:00
2016-04-27 03:04:54 +00:00
2016-04-27 03:04:54 +00:00