[TTI] Add generic cost model for smul/umul overflow intrinsics
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 25 Feb 2019 13:30:23 +0000 (13:30 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 25 Feb 2019 13:30:23 +0000 (13:30 +0000)
commit42bf2dd6290983d948b6557714301fd327b2ac8f
tree88d6067ea80dda1e82ee72ca76ecbaf061b884f1
parentf54186abb628f7c1c1d08f971524a7d607823a09
[TTI] Add generic cost model for smul/umul overflow intrinsics

Based off smul/umul fixed costs and the implementation in TargetLowering::expandMULO.

llvm-svn: 354784
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/test/Analysis/CostModel/X86/arith-overflow.ll