This is an archive of the discontinued LLVM Phabricator instance.

TLI: Add interface for querying whether a function is vectorizable.
ClosedPublic

Authored by mzolotukhin on Mar 5 2015, 7:50 PM.

Details

Summary

TLI: Add interface for querying whether a function is vectorizable.

This is the second of 6 patches for enabling vectorization of calls.

Diff Detail

Event Timeline

mzolotukhin updated this revision to Diff 21324.Mar 5 2015, 7:50 PM
mzolotukhin retitled this revision from to TLI: Add interface for querying whether a function is vectorizable..
mzolotukhin updated this object.
mzolotukhin edited the test plan for this revision. (Show Details)
mzolotukhin added a subscriber: Unknown Object (MLST).
hfinkel added inline comments.Mar 5 2015, 8:36 PM
lib/Analysis/TargetLibraryInfo.cpp
758

It looks like all of these comparison functions are only used once. Please make them lambdas at their current call sites.

Thanks, committed in r232523!

mzolotukhin accepted this revision.Mar 17 2015, 12:37 PM
mzolotukhin added a reviewer: mzolotukhin.
This revision is now accepted and ready to land.Mar 17 2015, 12:37 PM
mzolotukhin closed this revision.Mar 17 2015, 12:38 PM

For the reference: this patch was discussed on the mailing list, and was OK'd there (those comments didn't get here).