The signatures for the PowerPC builtins lharx and
lbarx are incorrect, and causes issues when in a function
that requiers the return of the builtin to be promoted.
This patch fixes these signatures.
Details
- Reviewers
nemanjai stefanp saghir - Group Reviewers
Restricted Project - Commits
- rG29bb877499ce: [PowerPC] Fix lharx and lbarx builtin signatures
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The description says it causes issues but there is no test case. Please add the test case that causes issues.
| clang/test/CodeGen/builtins-ppc-xlcompat-LoadReseve-StoreCond.c | ||
|---|---|---|
| 27 | Do you also need to update the input argument type here as well to match the changes in BuiltinsPPC.def? | |
Additional nit regarding the description and comment:
The signatures for the PowerPC builtins lharx and
lbarx are incorrect, and causes issues when in a function
that requiers the return of the builtin to be promoted.
This patch fixes these signatures.
Updated to:
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.
| clang/test/CodeGen/builtins-ppc-xlcompat-LoadReseve-StoreCond.c | ||
|---|---|---|
| 50 | nit: Capitalize the sentence and add a period. | |
Do you also need to update the input argument type here as well to match the changes in BuiltinsPPC.def?