HomePhabricator

[AArch64] Cost-model i8 vector loads/stores

Authored by SjoerdMeijer on Jul 1 2021, 6:45 AM.

Description

[AArch64] Cost-model i8 vector loads/stores

Loads of <4 x i8> vectors were modeled as extremely expensive. And while we
don't have a load instruction that supports this, it isn't that expensive to
create a vector of i8 elements. The codegen for this was fixed/optimised in
D105110. This now tweaks the cost model and enables SLP vectorisation of my
motivating case loadi8.ll.

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

Details

Committed
SjoerdMeijerJul 5 2021, 3:25 AM
Differential Revision
D103629: [AArch64] Cost-model i8 vector loads/stores
Parents
rGa96911c49bff: [mlir] Escape strings of opaque attributes
Branches
Unknown
Tags
Unknown