diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2021-03-24 00:25:03 -0500 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2021-03-24 00:35:51 -0500 |
commit | 4020932706f6f8538b48b9b8439a7ec1266a7ae5 (patch) | |
tree | 55e3541e979cfa8623ab7520d8ceb76da5188333 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 85cbfe75afa734b9e141fb11c8fd3c63e815616b (diff) | |
download | llvm-4020932706f6f8538b48b9b8439a7ec1266a7ae5.zip llvm-4020932706f6f8538b48b9b8439a7ec1266a7ae5.tar.gz llvm-4020932706f6f8538b48b9b8439a7ec1266a7ae5.tar.bz2 |
[PowerPC] Make altivec.h work with AIX which has no __int128
There are a number of functions in altivec.h that use
vector __int128 which isn't supported on AIX. Those functions
need to be guarded for targets that don't support the type.
Furthermore, the functions that produce quadword instructions
without using the type need a builtin. This patch adds the
macro guards to altivec.h using the __SIZEOF_INT128__ which
is only defined on targets that support the __int128 type.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions