diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-02-25 11:19:37 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-02-25 11:19:37 +0000 |
commit | c61f1e8e6cda9afad8b2b4cd6e95f814ca82685c (patch) | |
tree | 77c28f237f5e609739483bab6ad0cedf30153ccc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | fd99780c0941c7576bb271d7e58e6553afe9db00 (diff) | |
download | llvm-c61f1e8e6cda9afad8b2b4cd6e95f814ca82685c.zip llvm-c61f1e8e6cda9afad8b2b4cd6e95f814ca82685c.tar.gz llvm-c61f1e8e6cda9afad8b2b4cd6e95f814ca82685c.tar.bz2 |
[X86] Merge ISD::ADD/SUB nodes into X86ISD::ADD/SUB equivalents (PR40483)
Avoid ADD/SUB instruction duplication by reusing the X86ISD::ADD/SUB results.
Includes ADD commutation - I tried to include NEG+SUB SUB commutation as well but this causes regressions as we don't have good combine coverage to simplify X86ISD::SUB.
Differential Revision: https://reviews.llvm.org/D58597
llvm-svn: 354771
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions