diff options
author | Philip Reames <listmail@philipreames.com> | 2018-05-09 22:56:32 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2018-05-09 22:56:32 +0000 |
commit | 79e917d117b9caec749360614795cd857c21419a (patch) | |
tree | ebf9eb445da79772a1d8a83e5eb93355d2d1d2cb /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b11f8b3cbc714fd9977d72cce04bb5fec25e3378 (diff) | |
download | bcm5719-llvm-79e917d117b9caec749360614795cd857c21419a.tar.gz bcm5719-llvm-79e917d117b9caec749360614795cd857c21419a.zip |
[InstCombine] Widen guards with conditions between
The previous handling for guard widening in InstCombine was extremely restrictive. In particular, it didn't handle the common case where we had two guards separated by a single icmp. Handle this by scanning through a small fixed window of instructions to find the next guard if needed.
Differential Revision: https://reviews.llvm.org/D46203
llvm-svn: 331935
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions