[openmp] Fix building z_Linux_asm.S for armv5t
authorMartin Storsjö <martin@martin.st>
Thu, 9 Feb 2023 22:40:48 +0000 (00:40 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 10 Feb 2023 22:03:13 +0000 (00:03 +0200)
commit89197b59f597995ecb6b6dc2e262a1ecddeee901
tree4a56053f19761f0b11633aaceeb18692073ee190
parent3de0bc4c3d0284354b0c0ec8ca1536ee080193e2
[openmp] Fix building z_Linux_asm.S for armv5t

Don't use the ldrd instruction; that one requires armv5te. Instead
do two separate loads (or only one if OMPT_SUPPORT isn't defined).

This should fix https://github.com/llvm/llvm-project/issues/60370.

Differential Revision: https://reviews.llvm.org/D143683
openmp/runtime/src/z_Linux_asm.S