Page MenuHomePhabricator

[PowerPC] Add Sema checks for MMA types
Needs ReviewPublic

Authored by bsaleil on Jun 17 2020, 11:28 AM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

The use of the new types introduced for PowerPC MMA instructions need to be restricted.
We add a PowerPC function to SemaChecking.cpp checking that the given type is valid in a context in which we don't allow MMA types.
This function is called from various places in Sema where we want to prevent the use of these types.

This patch is part of the PowerPC MMA RFC that will be posted soon.

Diff Detail

Event Timeline

bsaleil created this revision.Jun 17 2020, 11:28 AM
bsaleil created this object with visibility "bsaleil (Baptiste Saleil)".
bsaleil created this object with edit policy "bsaleil (Baptiste Saleil)".
Herald added a project: Restricted Project. · View Herald TranscriptJun 17 2020, 11:28 AM
bsaleil added a reviewer: Restricted Project.Jun 19 2020, 6:14 PM
bsaleil changed the visibility from "bsaleil (Baptiste Saleil)" to "Public (No Login Required)".
bsaleil changed the edit policy from "bsaleil (Baptiste Saleil)" to "All Users".
bsaleil added a project: Restricted Project.Jun 19 2020, 6:16 PM