HomePhabricator

[CostModel][X86] Add mul by positive/negative power-of-2 constants tests

Authored by RKSimon on Oct 17 2021, 12:34 PM.

Description

[CostModel][X86] Add mul by positive/negative power-of-2 constants tests

We have backend optimizations for these, but currently the costmodel doesn't match them

Details

Committed
RKSimonOct 17 2021, 12:34 PM
Parents
rGf17f694a0fcf: [fir] Add IfBuilder and utility functions
Branches
Unknown
Tags
Unknown