diff options
author | Kewen Lin <jedilyn@163.com> | 2018-12-19 03:04:07 +0000 |
---|---|---|
committer | Kewen Lin <jedilyn@163.com> | 2018-12-19 03:04:07 +0000 |
commit | a6247e7cf426431e869e947532ba3f0fb9f6e8fc (patch) | |
tree | 45291729ed6df9847119f24b1f36f882f2cb91f7 /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py | |
parent | 5dcd70990ed6ed057704b501c666bc0378beb8f9 (diff) | |
download | bcm5719-llvm-a6247e7cf426431e869e947532ba3f0fb9f6e8fc.tar.gz bcm5719-llvm-a6247e7cf426431e869e947532ba3f0fb9f6e8fc.zip |
[PowerPC]Exploit P9 vabsdu for unsigned vselect patterns
For type v4i32/v8ii16/v16i8, do following transforms:
(vselect (setcc a, b, setugt), (sub a, b), (sub b, a)) -> (vabsd a, b)
(vselect (setcc a, b, setuge), (sub a, b), (sub b, a)) -> (vabsd a, b)
(vselect (setcc a, b, setult), (sub b, a), (sub a, b)) -> (vabsd a, b)
(vselect (setcc a, b, setule), (sub b, a), (sub a, b)) -> (vabsd a, b)
Differential Revision: https://reviews.llvm.org/D55812
llvm-svn: 349599
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions