[PATCH] D126461: [RISCV] Extract and store new vl of vleff/vlsegff iff destination isn't null
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 21 11:20:12 PDT 2022
craig.topper added a comment.
In D126461#3599122 <https://reviews.llvm.org/D126461#3599122>, @reames wrote:
> In D126461#3597862 <https://reviews.llvm.org/D126461#3597862>, @craig.topper wrote:
>
>> `dst` in the patch description is not the pointer being loaded, it's the pointer of where to store the new_vl. That is only thing being checked for null in this patch.
>
> I agree this is a possible interpretation, but it's also inconsistent with some of the other review discussion above.
>
> @pcwang-thead Please consider clarifying the patch description a blocking item for future review or potential approval.
I don't believe it was meant to be inconsistent, but I agree it could be confusing. All of the prior discussion is talking about the C intrinsic interface which has two pointers, the pointer to load from, and the outparam pointer for new_vl. All mentions of a pointer being null were only ever meant to refer to the outparam pointer.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126461/new/
https://reviews.llvm.org/D126461
More information about the cfe-commits
mailing list