Avoid exporting 80-bit fp functions for architectures other than Intel.
authorMalhar Jajoo <malhar.jajoo@arm.com>
Wed, 19 Oct 2022 14:55:15 +0000 (15:55 +0100)
committerMalhar Jajoo <malhar.jajoo@arm.com>
Wed, 19 Oct 2022 14:55:19 +0000 (15:55 +0100)
commitcea951dccd9aaa7fee8a60ecf9170d7d3cc35086
tree14ea3143dbc6eff4370a42178f1d6bddbb9166cc
parent6194229c6287fa5d8a9a30aa489bcbb8a9754ae0
Avoid exporting 80-bit fp functions for architectures other than Intel.

This patch is a partial fix for [[ https://github.com/llvm/llvm-project/issues/56349 | issue ]], due to functions affected by D117473.

Implementation details:
The patch essentially creates a new macro if the architecture is either
intel32 or intel64, since the generate-def.pl cannot process boolean algebra
on macros.

Reviewed By: jlpeyton

Differential Revision: https://reviews.llvm.org/D135795
openmp/runtime/cmake/LibompHandleFlags.cmake
openmp/runtime/src/dllexports