[all-commits] [llvm/llvm-project] 41ce5e: [PowerPC] Remove unnecessary 64-bit guards from al...
Nemanja Ivanovic via All-commits
all-commits at lists.llvm.org
Mon Jul 12 02:59:21 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 41ce5ec5f6f3a03d70e0010e3a140fe129800637
https://github.com/llvm/llvm-project/commit/41ce5ec5f6f3a03d70e0010e3a140fe129800637
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2021-07-12 (Mon, 12 Jul 2021)
Changed paths:
M clang/lib/Headers/altivec.h
A clang/test/CodeGen/builtins-ppc-32bit-vec-ll.c
M clang/test/CodeGen/builtins-ppc-quadword-noi128.c
Log Message:
-----------
[PowerPC] Remove unnecessary 64-bit guards from altivec.h
A number of functions in the header have guards for 64-bit only
that were presumably added as some of the functions in the blocks
use vector __int128 which is only available in 64-bit mode.
A more appropriate guard (__SIZEOF_INT128__) has been added for
those functions since, making the 64-bit guards redundant.
This patch removes those guards as they inadvertently guard code
that uses vector long long which does not actually require 64-bit
mode.
More information about the All-commits
mailing list