aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-09-03 19:47:19 +0000
committerTobias Grosser <tobias@grosser.es>2017-09-03 19:47:19 +0000
commit701d943d121c2b058f948a01cf6fa9dd6724fcb0 (patch)
treed588b51b0cb19377fcf68a03711078800af2dce7 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
parent45188dd9ae6d72ca07e80826b7785b225bdbcb9b (diff)
downloadllvm-701d943d121c2b058f948a01cf6fa9dd6724fcb0.zip
llvm-701d943d121c2b058f948a01cf6fa9dd6724fcb0.tar.gz
llvm-701d943d121c2b058f948a01cf6fa9dd6724fcb0.tar.bz2
[IslAst] Do not assert in case of empty min/max alias locations
In certain situations, the context in the isl_ast_build could result for the min/max locations of our alias sets to become empty, which would cause an internal error in isl, which is then unable to derive a value for these expressions. Check these conditions before code generating expressions and instead assume that alias check succeeded. This is valid, as the corresponding memory accesses will not be executed under any valid context. This fixed llvm.org/PR34432. Thanks to Qirun Zhang for reporting. llvm-svn: 312455
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions