This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][FIX] Ensure the isa trait is evaluated last
ClosedPublic

Authored by jdoerfert on Dec 23 2020, 4:26 PM.

Details

Summary

Since isa can cause diagnostics we want it to be evaluated last to avoid
the "unknown isa" warning if the rest of the selector wouldn't match
anyway. That allows us to guard isa with arch properly.

Diff Detail

Event Timeline

jdoerfert created this revision.Dec 23 2020, 4:26 PM
jdoerfert requested review of this revision.Dec 23 2020, 4:26 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 23 2020, 4:26 PM
jhuber6 accepted this revision.Jan 5 2021, 9:23 AM

LGTM

This revision is now accepted and ready to land.Jan 5 2021, 9:23 AM
This revision was automatically updated to reflect the committed changes.