This patch fixes the return value of the builtin __builtin_ppc_load2r to
correctly return short instead of int.
Details
Details
- Reviewers
lei nemanjai - Group Reviewers
Restricted Project - Commits
- rG4fc2f4979cf5: [PowerPC] Fix __builtin_ppc_load2r to return short instead of int.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM as long as the sign-extending test is added.
llvm/test/CodeGen/PowerPC/builtins-ppc-xlcompat-load-store-reversed.ll | ||
---|---|---|
52 | Please add an equivalent test with signext to ensure there is a extsh prior to the return. |
Please add an equivalent test with signext to ensure there is a extsh prior to the return.