Page MenuHomePhabricator

[SLP] Propagate 'nontemporal' attribute into vectorized instructions.
ClosedPublic

Authored by mzolotukhin on Aug 20 2015, 1:47 PM.

Details

Summary

Currently we drop nontemporal attribute when vectorizing instructions, and this
patch fixes it. It hasn't been a problem, because there weren't cases when we
needed to vectorize scalar instructions with nontemporal attribute. But I'm
working on adding language attribute 'attribute((nontemporal)' to front-end,
after which we'll encounter such cases.

Diff Detail

Event Timeline

mzolotukhin retitled this revision from to [SLP] Propagate 'nontemporal' attribute into vectorized instructions..
mzolotukhin updated this object.
mzolotukhin added a subscriber: llvm-commits.

LGTM!

mcrosier accepted this revision.Aug 20 2015, 1:51 PM
mcrosier added a reviewer: mcrosier.
mcrosier added a subscriber: mcrosier.

LGTM, per Nadav.

This revision is now accepted and ready to land.Aug 20 2015, 1:51 PM
mzolotukhin closed this revision.Aug 20 2015, 3:35 PM

Thanks, committed in r245633.