diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-05-17 20:27:55 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-05-17 20:27:55 +0000 |
commit | e2787b9a35d1844dce5e9bb46d0b7526fa9662d7 (patch) | |
tree | 14a6e694bc3a0748afc4a3b31c525bcefc970c3e /llvm/lib/Support/BinaryStreamReader.cpp | |
parent | d9a626332ef6748d1ef157ff9813875f4ad4bcf6 (diff) | |
download | llvm-e2787b9a35d1844dce5e9bb46d0b7526fa9662d7.zip llvm-e2787b9a35d1844dce5e9bb46d0b7526fa9662d7.tar.gz llvm-e2787b9a35d1844dce5e9bb46d0b7526fa9662d7.tar.bz2 |
[InstSimplify] handle all icmp i1 X, C in one place; NFCI
We already handled all of the new tests identically, but several
of those went through a lot of unnecessary processing before
getting folded.
Another motivation for grouping these cases together is that
InstCombine needs a similar fold. Currently, it handles the
'not' cases inefficiently which can lead to bugs as described
in the post-commit comments of:
https://reviews.llvm.org/D32143
llvm-svn: 303295
Diffstat (limited to 'llvm/lib/Support/BinaryStreamReader.cpp')
0 files changed, 0 insertions, 0 deletions