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
Details
- Reviewers
nemanjai stefanp saghir - Group Reviewers
Restricted Project - Commits
- rG29bb877499ce: [PowerPC] Fix lharx and lbarx builtin signatures
Diff Detail
Diff Detail
Unit Tests
Unit Tests
Event Timeline
Comment Actions
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 ↗ | (On Diff #374556) | Do you also need to update the input argument type here as well to match the changes in BuiltinsPPC.def? |
Comment Actions
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 ↗ | (On Diff #374908) | nit: Capitalize the sentence and add a period. |