diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2018-01-17 21:59:02 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2018-01-17 21:59:02 +0000 |
commit | a75d53c83f8afbfc107da37774a13908e8718276 (patch) | |
tree | f5be93c4996d1ed6c683a41b774b5751c55493bd /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 1e28194a40af59a5532d08df627060c3f8801a35 (diff) | |
download | bcm5719-llvm-a75d53c83f8afbfc107da37774a13908e8718276.tar.gz bcm5719-llvm-a75d53c83f8afbfc107da37774a13908e8718276.zip |
[polly] [ScopInfo] Don't use isl_val_get_num_si.
isl_val_get_num_si crashes on overflow, so don't use it on arbitrary
integers.
Testcase only crashes on platforms where long is 32 bits because of the
signature of isl_val_get_num_si; not sure if it's possible to write a
testcase which crashes if long is 64 bits.
There are a few other places in polly which use isl_val_get_num_si;
they probably need to be fixed as well. I don't think polly uses any
of the other "long" isl APIs in an unsafe manner.
Differential Revision: https://reviews.llvm.org/D42129
llvm-svn: 322766
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions