aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorDaniel Neilson <dneilson@azul.com>2017-10-11 19:05:14 +0000
committerDaniel Neilson <dneilson@azul.com>2017-10-11 19:05:14 +0000
commit5acfd1dd78f2485cef0dc3f5968d0ddf57ea6629 (patch)
treedf291e597ff96dabc33dfe249f61d819a139e5b8 /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parent198d385a77794555d9041515f051cb8a6c437f83 (diff)
downloadllvm-5acfd1dd78f2485cef0dc3f5968d0ddf57ea6629.zip
llvm-5acfd1dd78f2485cef0dc3f5968d0ddf57ea6629.tar.gz
llvm-5acfd1dd78f2485cef0dc3f5968d0ddf57ea6629.tar.bz2
[SCEV] Properly handle the case of a non-constant start with a zero accum in ScalarEvolution::createAddRecFromPHIWithCastsImpl
Summary: This patch fixes an error in the patch to ScalarEvolution::createAddRecFromPHIWithCastsImpl made in D37265. In that patch we handle the cases where the either the start or accum values can be zero after truncation. But, we assume that the start value must be a constant if the accum is zero. This is clearly an erroneous assumption. This change removes that assumption. Reviewers: sanjoy, dorit, mkazantsev Reviewed By: sanjoy Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38814 llvm-svn: 315491
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions