aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2016-05-26 21:42:51 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2016-05-26 21:42:51 +0000
commit1ecdedad8d839f5522aabbbdf6dd17541f9cf501 (patch)
treef890649f2270f2fd88836af2074626f7291c16d0 /llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp
parent7509d54b216924b592c1752eface9789f683d616 (diff)
downloadllvm-1ecdedad8d839f5522aabbbdf6dd17541f9cf501.zip
llvm-1ecdedad8d839f5522aabbbdf6dd17541f9cf501.tar.gz
llvm-1ecdedad8d839f5522aabbbdf6dd17541f9cf501.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Fuzzer/test/SimpleThreadedTest.cpp')
0 files changed, 0 insertions, 0 deletions