This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] kmp_affinity.h: add LoongArch64 support
ClosedPublic

Authored by Ami-zhang on Nov 7 2022, 7:58 PM.

Details

Summary

In D135552 the #else is added, which causes build error when
building openmp on LoongArch. This patch fixed the error:

"Unknown or unsupported architecture"

Diff Detail

Event Timeline

Ami-zhang created this revision.Nov 7 2022, 7:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 7 2022, 7:58 PM
Ami-zhang requested review of this revision.Nov 7 2022, 7:58 PM
Herald added a project: Restricted Project. · View Herald Transcript
Ami-zhang edited the summary of this revision. (Show Details)Nov 9 2022, 2:00 AM
SixWeining accepted this revision.Nov 14 2022, 11:04 PM
SixWeining retitled this revision from [OpenMP] kmp_affinity.h: add LoongArch support to [OpenMP] kmp_affinity.h: add LoongArch64 support.
This revision is now accepted and ready to land.Nov 14 2022, 11:05 PM
MaskRay accepted this revision.Nov 14 2022, 11:16 PM
This revision was automatically updated to reflect the committed changes.