diff options
| author | Hans Wennborg <hans@hanshq.net> | 2018-08-08 13:14:57 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2018-08-08 13:14:57 +0000 |
| commit | 9f482deaa3d9b487c7e6dfc6a42995cbf4dc5a80 (patch) | |
| tree | 136897ff2ba3df70984917e01e59aaf1ccceb915 /clang/lib/CodeGen/CodeGenAction.cpp | |
| parent | 8732f8f547c282f935241890fd6a703e6f15cc9d (diff) | |
| download | bcm5719-llvm-9f482deaa3d9b487c7e6dfc6a42995cbf4dc5a80.tar.gz bcm5719-llvm-9f482deaa3d9b487c7e6dfc6a42995cbf4dc5a80.zip | |
Merging r338902:
------------------------------------------------------------------------
r338902 | jgalenson | 2018-08-03 19:12:23 +0200 (Fri, 03 Aug 2018) | 5 lines
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: 339239
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions

