aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/Sparc/SparcSubtarget.cpp
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2015-09-10 18:12:47 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2015-09-10 18:12:47 +0000
commitddb4d9741f985fa5bc86fbaac4607721400f820c (patch)
treeba8cacdeb4e295ea0e2bba0b05b89864094cede1 /llvm/lib/Target/Sparc/SparcSubtarget.cpp
parentfa946233b4e1ad857ecc4b14cec1f31c40eb94fa (diff)
downloadllvm-ddb4d9741f985fa5bc86fbaac4607721400f820c.zip
llvm-ddb4d9741f985fa5bc86fbaac4607721400f820c.tar.gz
llvm-ddb4d9741f985fa5bc86fbaac4607721400f820c.tar.bz2
[SCEV] Consistently Handle Expressions That Cannot Be Divided
This patch addresses the issue of SCEV division asserting on some input expressions (e.g., non-affine expressions) and quietly giving up on others. When giving up, we set the quotient to be equal to zero and the remainder to be equal to the numerator. With this patch, we always quietly give up when we cannot perform the division. This patch also adds a test case for DependenceAnalysis that previously caused an assertion. Differential Revision: http://reviews.llvm.org/D11725 llvm-svn: 247314
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcSubtarget.cpp')
0 files changed, 0 insertions, 0 deletions