getOperandsScalarizationOverhead()

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 22 07:48:06 PST 2017


Hi,

while writing CostModel tests for SystemZ, I needed to fix 
getOperandsScalarizationOverhead() so that it can handle vector argument 
types. This is what is passed to it from CostModel, when the default 
implementation is used for the cost evaluation.

I also added a check not to count an undef operand to extraction costs.

/Jonas



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-TargetTransformInfo-improvement-and-fix-in-getOperan.patch
Type: text/x-patch
Size: 1458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170222/53874c3f/attachment.bin>


More information about the llvm-commits mailing list