aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Compression.cpp
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2018-08-03 17:12:23 +0000
committerJoel Galenson <jgalenson@google.com>2018-08-03 17:12:23 +0000
commitcfe5bc158d8830bf885a4aec6fd2a78c53a0552d (patch)
tree709a2f8ba8c0325483e6a026e764286e2b9f5745 /llvm/lib/Support/Compression.cpp
parent286ac071997542a1dc937b260b0631fddc1cf24e (diff)
downloadllvm-cfe5bc158d8830bf885a4aec6fd2a78c53a0552d.zip
llvm-cfe5bc158d8830bf885a4aec6fd2a78c53a0552d.tar.gz
llvm-cfe5bc158d8830bf885a4aec6fd2a78c53a0552d.tar.bz2
Fix crash in bounds checking.
In r337830 I added SCEV checks to enable us to insert fewer bounds checks. Unfortunately, this sometimes crashes when multiple bounds checks are added due to SCEV caching issues. This patch splits the bounds checking pass into two phases, one that computes all the conditions (using SCEV checks) and the other that adds the new instructions. Differential Revision: https://reviews.llvm.org/D49946 llvm-svn: 338902
Diffstat (limited to 'llvm/lib/Support/Compression.cpp')
0 files changed, 0 insertions, 0 deletions