diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-10-03 13:36:00 +0000 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-10-03 13:36:00 +0000 |
| commit | c78064573643f694e65a6222b0ee47276864545c (patch) | |
| tree | 2a694c30f41b59ce91124ee4de0c10898ff199b4 /lldb/scripts/Python/python-wrapper.swig | |
| parent | de6b59cd2089917410af386ca709be5563e24186 (diff) | |
| download | llvm-c78064573643f694e65a6222b0ee47276864545c.zip llvm-c78064573643f694e65a6222b0ee47276864545c.tar.gz llvm-c78064573643f694e65a6222b0ee47276864545c.tar.bz2 | |
[NFC][InstCombine] Some tests for sub-of-negatible pattern
As we have previously estabilished, `sub` is an outcast,
and should be considered non-canonical iff it can be converted to `add`.
It can be converted to `add` if it's second operand can be negated.
So far we mostly only do that for constants and negation itself,
but we should be more through.
llvm-svn: 373597
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions
