[all-commits] [llvm/llvm-project] 54205f: [PowerPC] Allow const pointers for load builtins i...
Nemanja Ivanovic via All-commits
all-commits at lists.llvm.org
Fri Sep 4 10:58:04 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 54205f0bd2377503b818d7f62cc4ed63ef5b1e94
https://github.com/llvm/llvm-project/commit/54205f0bd2377503b818d7f62cc4ed63ef5b1e94
Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
Date: 2020-09-04 (Fri, 04 Sep 2020)
Changed paths:
M clang/lib/Headers/altivec.h
M clang/test/CodeGen/builtins-ppc-altivec.c
M clang/test/CodeGen/builtins-ppc-p10vector.c
M clang/test/CodeGen/builtins-ppc-xl-xst.c
Log Message:
-----------
[PowerPC] Allow const pointers for load builtins in altivec.h
The load builtins in altivec.h do not have const in the signature
for the pointer parameter. This prevents using them for loading
from constant pointers. A notable case for such a use is Eigen.
This patch simply adds the missing const.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=47408
More information about the All-commits
mailing list