HomePhabricator

[TTI] Add generic cost model for fixed point smul/umul

Authored by RKSimon on Feb 25 2019, 3:59 AM.

Description

[TTI] Add generic cost model for fixed point smul/umul

Based on an IR equivalent of target lowering's generic expansion - target specific costs will typically be lower (IR doesn't have a good mull/mulh equivalent) but we need a baseline.

Differential Revision: https://reviews.llvm.org/D57925

llvm-svn: 354774