diff options
author | Yonghong Song <yhs@fb.com> | 2018-02-08 04:37:49 +0000 |
---|---|---|
committer | Yonghong Song <yhs@fb.com> | 2018-02-08 04:37:49 +0000 |
commit | f2075aef681897e41e45a9686e85d3ddd55d92c0 (patch) | |
tree | 022d6cf6eb93d318ba046fb449e26993de8cdf2e /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py | |
parent | 8ddd922d7319a7382df0d89df906027058b876f5 (diff) | |
download | bcm5719-llvm-f2075aef681897e41e45a9686e85d3ddd55d92c0.tar.gz bcm5719-llvm-f2075aef681897e41e45a9686e85d3ddd55d92c0.zip |
bpf: Improve expanding logic in LowerSELECT_CC
LowerSELECT_CC is not generating optimal Select_Ri pattern at the moment. It
is not guaranteed to place ConstantNode at RHS which would miss matching
Select_Ri.
A new testcase added into the existing select_ri.ll, also there is an
existing case in cmp.ll which would be improved to use Select_Ri after this
patch, it is adjusted accordingly.
Reported-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Reviewed-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
llvm-svn: 324560
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions