aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-01-25 15:58:28 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-01-25 15:58:28 +0000
commitf56298f4b9306d038fe415e1f721414bc75fdb57 (patch)
treeb5baed425f750b67cc769835e5234a454be09dbd /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent21aa6ddc1413667516f7b5cc7a6013a9593dd404 (diff)
downloadllvm-f56298f4b9306d038fe415e1f721414bc75fdb57.zip
llvm-f56298f4b9306d038fe415e1f721414bc75fdb57.tar.gz
llvm-f56298f4b9306d038fe415e1f721414bc75fdb57.tar.bz2
[X86] Simplify X86ISD::ADD/SUB if we don't use the result flag
Simplify to the generic ISD::ADD/SUB if we don't make use of the result flag. This mainly helps with ADDCARRY/SUBBORROW intrinsics which get expanded to X86ISD::ADD/SUB but could be simplified further. Noticed in some of the test cases in PR31754 Differential Revision: https://reviews.llvm.org/D57234 llvm-svn: 352210
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions