[PowerPC] Fix lharx and lbarx builtin signatures
authorAlbion Fung <albionapc@gmail.com>
Thu, 30 Sep 2021 23:50:09 +0000 (18:50 -0500)
committerAlbion Fung <albionapc@gmail.com>
Fri, 1 Oct 2021 03:36:13 +0000 (22:36 -0500)
commit29bb877499ce328f8f4a5d61e9bae94e5f97f908
tree4156157d052d686047bac5a9f191077f37fe5de3
parentd2df5ce294cbaf3fe69e59e219cd8741e6185ed9
[PowerPC] Fix lharx and lbarx builtin signatures

The signatures for the PowerPC builtins lharx and
lbarx are incorrect, and causes issues when used in a function
that requires the return of the builtin to be promoted.
This patch fixes these signatures.

Differential revision: https://reviews.llvm.org/D110273
clang/include/clang/Basic/BuiltinsPPC.def
clang/test/CodeGen/builtins-ppc-xlcompat-LoadReseve-StoreCond.c