[ARM] Optimize {s,u}mul.with.overflow.
authorJoel Galenson <jgalenson@google.com>
Wed, 17 Jan 2018 19:19:05 +0000 (19:19 +0000)
committerJoel Galenson <jgalenson@google.com>
Wed, 17 Jan 2018 19:19:05 +0000 (19:19 +0000)
commitbbcaf4ac5caadf71593cdd1bee8d0697ac190aaf
tree3481c74fe134d41904cd3467f8c3b45089c4868a
parentfe7fa40869b5b85cf7a99e7ecd13468ddfd955b1
[ARM] Optimize {s,u}mul.with.overflow.

This extends my previous patches to also optimize overflow-checked multiplies during SelectionDAG.

Differential revision: https://reviews.llvm.org/D40922

llvm-svn: 322738
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/ARM/overflow-intrinsic-optimizations.ll [moved from llvm/test/CodeGen/ARM/su-addsub-overflow.ll with 80% similarity]