This is an archive of the discontinued LLVM Phabricator instance.

[X86] Allow Yz inline assembly constraint to choose ymm0 or zmm0 when avx/avx512 are enabled and type is 256 or 512 bits
ClosedPublic

Authored by craig.topper on May 5 2020, 2:56 PM.

Details

Summary

gcc supports selecting ymm0/zmm0 for the Yz constraint when used with 256 or 512 bit vector types.

Fixes PR45806

Diff Detail

Event Timeline

craig.topper created this revision.May 5 2020, 2:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2020, 2:56 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
echristo accepted this revision.May 5 2020, 3:18 PM
This revision is now accepted and ready to land.May 5 2020, 3:18 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 5 2020, 9:33 PM