commit | 61e77b11d1bf0fa02cfce416c56e6a598619d8db | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Tue Apr 09 18:33:56 2019 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Tue Apr 09 18:33:56 2019 +0000 |
tree | 85b8aad010dddc9a20b8d04c79994877ac617054 | |
parent | 2f5e9de8d1f80e1e94e5eaacde7ba59ba0c55ca0 [diff] |
[DAGCombiner][X86][SystemZ] Canonicalize SSUBO with immediate RHS to SADDO by negating the immediate. This lines up with what we do for regular subtract and it matches up better with X86 assumptions in isel patterns that add with immediate is more canonical than sub with immediate. Differential Revision: https://reviews.llvm.org/D60020 llvm-svn: 358027