diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-05-08 14:36:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 14:36:58 -0500 |
commit | e3938f4d71493673033f6190454e7e19d5411ea7 (patch) | |
tree | 193cbae029c392e59da62bf481c7c67f724e294d /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 5526c8a7425350cff2cd9cafa1bf5f20753e7848 (diff) | |
download | llvm-e3938f4d71493673033f6190454e7e19d5411ea7.zip llvm-e3938f4d71493673033f6190454e7e19d5411ea7.tar.gz llvm-e3938f4d71493673033f6190454e7e19d5411ea7.tar.bz2 |
[Offload] Detect native ELF machine from preprocessor (#91282)
Summary:
This gets the target's corresponding ELF value from the preprocessor.
We use this to detect if a given ELF is compatible with the CPU
offloading impolementation for OpenMP. Previously we used defitions from
CMake, but this is easier for people to understand as there may be new
users of this in the future.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions