aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@codeaurora.org>2018-05-14 23:05:43 +0000
committerEli Friedman <efriedma@codeaurora.org>2018-05-14 23:05:43 +0000
commit9ae56b9a0e2f9769eddcbfb16feff28fce773edb (patch)
tree07c808fda50e99f4a63861c4a9909842fa426048 /llvm/unittests/Support/CommandLineTest.cpp
parent65d6380cd63db11c1285325078e3c0e740191dab (diff)
downloadllvm-9ae56b9a0e2f9769eddcbfb16feff28fce773edb.zip
llvm-9ae56b9a0e2f9769eddcbfb16feff28fce773edb.tar.gz
llvm-9ae56b9a0e2f9769eddcbfb16feff28fce773edb.tar.bz2
[SCEVAffinator] Fix handling of pwaff complexity limit.
nullptr is not a valid affine expression, and none of the callers check for null, so we eventually hit an isl error and crash. Instead, invalidate the scop and return a constant zero. Differential Revision: https://reviews.llvm.org/D46445 llvm-svn: 332309
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions