aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCSE.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-04-23 11:50:13 -0500
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2021-04-23 15:13:46 -0500
commit19b29b1ed1baa3c91a8e48204a8fb229bf07f548 (patch)
treeac51005aa4f722e6876e3b50dd9c377215d3177c /llvm/lib/CodeGen/MachineCSE.cpp
parent97c571abbcea2b540511ae5a874da05bf77e5e5d (diff)
downloadllvm-19b29b1ed1baa3c91a8e48204a8fb229bf07f548.zip
llvm-19b29b1ed1baa3c91a8e48204a8fb229bf07f548.tar.gz
llvm-19b29b1ed1baa3c91a8e48204a8fb229bf07f548.tar.bz2
[PowerPC] Provide XL-compatible builtins in altivec.h
There are some interfaces in altivec.h that are not compatible between Clang and XL (although Clang is compatible with GCC). Currently, we have found 3 but there may be others. Clang/GCC signatures: vector double vec_ctf(vector signed long long) vector double vec_ctf(vector unsigned long long) vector signed long long vec_cts(vector double) vector unsigned long long vec_ctu(vector double) XL signatures: vector float vec_ctf(vector signed long long) vector float vec_ctf(vector unsigned long long) vector signed int vec_cts(vector double) vector unsigned int vec_ctu(vector double) This patch provides the XL behaviour under the __XL_COMPAT_ALTIVEC__ macro for users that rely on XL behaviour. Differential revision: https://reviews.llvm.org/D101130
Diffstat (limited to 'llvm/lib/CodeGen/MachineCSE.cpp')
0 files changed, 0 insertions, 0 deletions