diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-03-26 17:50:08 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-03-26 17:50:08 +0000 |
commit | 81e8d76f5b63ad18fa538960ea57723b2329e8cd (patch) | |
tree | 28efb12d369398896df803655365bf388bca4952 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 1aaa481fc1f8ad45d36e7e9e9340d22790a7c739 (diff) | |
download | bcm5719-llvm-81e8d76f5b63ad18fa538960ea57723b2329e8cd.tar.gz bcm5719-llvm-81e8d76f5b63ad18fa538960ea57723b2329e8cd.zip |
[InstCombine] form uaddsat from add+umin (PR14613)
This is the last step towards solving the examples shown in:
https://bugs.llvm.org/show_bug.cgi?id=14613
With this change, x86 should end up with psubus instructions
when those are available.
All known codegen issues with expanding the saturating intrinsics
were resolved with:
D59006 / rL356855
We also have some early evidence in D58872 that using the intrinsics
will lead to better perf. If some target regresses from this, custom
lowering of the intrinsics (as in the above for x86) may be needed.
llvm-svn: 357012
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions