diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-06-06 21:58:12 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-06-06 21:58:12 +0000 |
commit | 3cd1aa88f95003394a4f8ccf41542b8b05ea07be (patch) | |
tree | 46dc320f51f4277296f6598e45b6de0faa2788a6 /lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp | |
parent | 0acc024d7a065f58cfe8bf727e4df36af35952b4 (diff) | |
download | bcm5719-llvm-3cd1aa88f95003394a4f8ccf41542b8b05ea07be.tar.gz bcm5719-llvm-3cd1aa88f95003394a4f8ccf41542b8b05ea07be.zip |
[InstCombine] fold another shifty abs pattern to cmp+sel (PR36036)
The bug report:
https://bugs.llvm.org/show_bug.cgi?id=36036
...requests a DAG change for this, but an IR canonicalization
probably handles most cases. If we still want to match this
pattern in the backend, there's a proposal for that too:
D47831
Alive proofs including nsw/nuw cases that were first noted in:
D46988
https://rise4fun.com/Alive/Kmp
This patch is largely copied from the existing code that was
initially added with:
D40984
...but I didn't see much gain from trying to share code.
llvm-svn: 334137
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/main.cpp')
0 files changed, 0 insertions, 0 deletions