diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-07-27 10:54:48 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-07-27 10:54:48 +0000 |
commit | 78e4b4d3c442a8ee97f2488a7ec690146a42c6ac (patch) | |
tree | 4f9156d2565b67ba23874dbb66350436849a675d /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | eee52b5090de793274bbb589b5a9ac64808f01bc (diff) | |
download | bcm5719-llvm-78e4b4d3c442a8ee97f2488a7ec690146a42c6ac.tar.gz bcm5719-llvm-78e4b4d3c442a8ee97f2488a7ec690146a42c6ac.zip |
[InstCombine] not(sub X, Y) --> add (not X), Y
The tests with constants show a missing optimization.
Analysis for adds is better than subs, so this can also
help with other transforms. And codegen is better with
adds for targets like x86 (destructive ops, no sub-from).
https://rise4fun.com/Alive/llK
llvm-svn: 338118
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions