This is an archive of the discontinued LLVM Phabricator instance.

[NewPM][test] Fix accelerate-vector-functions.ll under NPM
ClosedPublic

Authored by aeubanks on Aug 24 2020, 3:40 PM.

Details

Summary

The legacy SLPVectorizer has a dependency on InjectTLIMappingsLegacy.
That cannot be expressed in the new PM since they are both normal
passes. Explicitly add -inject-tli-mappings as a pass.

Diff Detail

Event Timeline

aeubanks created this revision.Aug 24 2020, 3:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2020, 3:40 PM
aeubanks requested review of this revision.Aug 24 2020, 3:40 PM
spatel accepted this revision.Aug 25 2020, 9:37 AM

LGTM. The other place you will hit this problem is in test/Transforms/LoopVectorize; there are a few test files there that specify -vector-library.

This revision is now accepted and ready to land.Aug 25 2020, 9:37 AM