This is an archive of the discontinued LLVM Phabricator instance.

[SytemZ] Disable vector ABI when using option -march=arch[8|9|10]
ClosedPublic

Authored by Kai on Feb 6 2020, 10:48 AM.

Details

Summary

When specifying -march=arch[8|9|10], those CPU types do NOT support the vector extension. In this case the vector ABI must be disabled. The generated data layout should NOT contain 64-v128.

Diff Detail

Event Timeline

Kai created this revision.Feb 6 2020, 10:48 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 6 2020, 10:48 AM

LGTM, thanks!

uweigand accepted this revision.Feb 7 2020, 7:53 AM
This revision is now accepted and ready to land.Feb 7 2020, 7:53 AM
This revision was automatically updated to reflect the committed changes.