[OpenMP] kmp_affinity.h: add LoongArch64 support
authorzhanglimin <zhanglimin@loongson.cn>
Thu, 17 Nov 2022 03:58:57 +0000 (11:58 +0800)
committerWeining Lu <luweining@loongson.cn>
Thu, 17 Nov 2022 03:59:00 +0000 (11:59 +0800)
commitdb8a96731f98105c88259ad881ff00198fe53a91
treec69c1471d01d15d5fc88d376fcf4abbcf7ea68a0
parent4ae3e13c7dbd3a04f4e6ff9e3143ba1ecd467f4d
[OpenMP] kmp_affinity.h: add LoongArch64 support

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

Reviewed By: SixWeining, MaskRay

Differential Revision: https://reviews.llvm.org/D137604
openmp/runtime/src/kmp_affinity.h