OSDN Git Service

LoopUnrollRuntime: Check for overflow in the trip count calculation.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 21 Jun 2014 13:46:25 +0000 (13:46 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 21 Jun 2014 13:46:25 +0000 (13:46 +0000)
commit6b7ff6be9c1bcf8ce440c7f1c7646fbf059562e4
treed40624357f7092d90efcaede189759dc4125f241
parent636a9bece43b3f10c27fb1260467fdc3cf989ea1
LoopUnrollRuntime: Check for overflow in the trip count calculation.

Fixes PR19823.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211436 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopUnrollRuntime.cpp
test/Transforms/LoopUnroll/runtime-loop.ll