This is an archive of the discontinued LLVM Phabricator instance.

[CostModel][AArch64] Remove amortization factor for some of the vector select instructions
ClosedPublic

Authored by sbaranga on Sep 9 2015, 4:44 AM.

Details

Summary

We are not scalarizing the wide selects in codegen for i16 and i32 and
therefore we can remove the amortization factor. We still have issues
with i64 vectors in codegen though.

Diff Detail

Event Timeline

sbaranga updated this revision to Diff 34319.Sep 9 2015, 4:44 AM
sbaranga retitled this revision from to [CostModel][AArch64] Remove amortization factor for some of the vector select instructions.
sbaranga updated this object.
sbaranga added a subscriber: llvm-commits.

Tested with spec2k, spec2k6 and lnt on cortex-a57, and didn't get any significant changes.

mcrosier accepted this revision.Sep 9 2015, 6:24 AM
mcrosier added a reviewer: mcrosier.
mcrosier added a subscriber: mcrosier.

This looks pretty reasonable.

This revision is now accepted and ready to land.Sep 9 2015, 6:24 AM
sbaranga closed this revision.Sep 9 2015, 8:36 AM

Thanks, r247156!