[PowerPC][NFC] Rename P10 builtins vec_clrl, vec_clrr to vec_clr_first and vec_clr_last
authorVictor Huang <wei.huang@ibm.com>
Mon, 30 Aug 2021 14:32:48 +0000 (09:32 -0500)
committerVictor Huang <wei.huang@ibm.com>
Mon, 30 Aug 2021 14:52:15 +0000 (09:52 -0500)
commit2e5c17d19e370c4d4f17ee89ca645113692f5407
tree6c9930d92c897b22ea5f5c03bd3986f90b8171a5
parent2ce889fa4e5cab75fc65d03a4dfae52784d57db9
[PowerPC][NFC] Rename P10 builtins vec_clrl, vec_clrr to vec_clr_first and vec_clr_last

This patch renames the vector clear left/right builtins vec_clrl, vec_clrr to
vec_clr_first and vec_clr_last to avoid the ambiguities when dealing with endianness.

Reviewed By: amyk, lei

Differential revision: https://reviews.llvm.org/D108702
clang/lib/Headers/altivec.h
clang/test/CodeGen/builtins-ppc-p10vector.c