aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-02-01 16:34:55 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-02-01 16:34:55 +0000
commite0e5795f6b9d2b903e60d968a8c9dbcc7972d2f4 (patch)
tree7c9ad3b6312a5ba83234d9309a62b4d28657061c /llvm/lib/Bitcode/Reader/BitstreamReader.cpp
parentca931efc21c5791f90e29eb8fa7690db6769fa67 (diff)
downloadllvm-e0e5795f6b9d2b903e60d968a8c9dbcc7972d2f4.zip
llvm-e0e5795f6b9d2b903e60d968a8c9dbcc7972d2f4.tar.gz
llvm-e0e5795f6b9d2b903e60d968a8c9dbcc7972d2f4.tar.bz2
[InstCombine] Allow InstCombine to merge adjacent guards
Summary: If there are two adjacent guards with different conditions, we can remove one of them and include its condition into the condition of another one. This patch allows InstCombine to merge them by the following pattern: guard(a); guard(b) -> guard(a & b). Reviewers: reames, apilipenko, igor-laevsky, anna, sanjoy Reviewed By: sanjoy Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29378 llvm-svn: 293778
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions