HomePhabricator

[PowerPC] Allow const pointers for load builtins in altivec.h

Authored by nemanjai on Sep 4 2020, 10:54 AM.

Description

[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

Details

Committed
nemanjaiSep 4 2020, 10:56 AM
Parents
rG00eb6fef0809: [DSE,MemorySSA] Check for throwing instrs between killing/killed def.
Branches
Unknown
Tags
Unknown