This is an archive of the discontinued LLVM Phabricator instance.

[SystemZ] Accurate costs for i1->double vector conversions
ClosedPublic

Authored by jonpa on Oct 31 2018, 3:01 AM.

Details

Reviewers
uweigand
Summary

Factored out a new method getBoolVecToIntConversionCost() containing the code for vector sext/zext of i1, in order to reuse it for i1 to double vector conversions.

This changes just one file on SPEC, with two more loops vectorized, seemingly for the better.

Diff Detail

Event Timeline

jonpa created this revision.Oct 31 2018, 3:01 AM
uweigand accepted this revision.Oct 31 2018, 5:25 AM

LGTM, thanks.

This revision is now accepted and ready to land.Oct 31 2018, 5:25 AM
jonpa closed this revision.Nov 1 2018, 2:06 AM

r345817