diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-08-07 06:20:40 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-08-07 06:20:40 +0000 |
commit | babd002ba82460fcff657d05e926d58a076755b1 (patch) | |
tree | f66f15cc32944e3c4b5c872611c879fd547eae4f /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | 3f3701060ba73ca6bd3d21ef388fec51c0c4c5df (diff) | |
download | bcm5719-llvm-babd002ba82460fcff657d05e926d58a076755b1.tar.gz bcm5719-llvm-babd002ba82460fcff657d05e926d58a076755b1.zip |
Merging r338817:
------------------------------------------------------------------------
r338817 | inouehrs | 2018-08-03 07:39:48 +0200 (Fri, 03 Aug 2018) | 10 lines
[InstSimplify] fold extracting from std::pair (2/2)
This is the second patch of the series which intends to enable jump threading for an inlined method whose return type is std::pair<int, bool> or std::pair<bool, int>.
The first patch is https://reviews.llvm.org/rL338485.
This patch handles code sequences that merges two values using `shl` and `or`, then extracts one value using `and`.
Differential Revision: https://reviews.llvm.org/D49981
------------------------------------------------------------------------
llvm-svn: 339097
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
0 files changed, 0 insertions, 0 deletions