[PATCH] D126461: [RISCV] Extract and store new vl of vleff/vlsegff iff destination isn't null

Wang Pengcheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 20 23:50:58 PDT 2022


pcwang-thead added a comment.

In D126461#3596769 <https://reviews.llvm.org/D126461#3596769>, @khchen wrote:

> Could you please purpose this implement in rvv-intrinsc-doc first?
> I think this feature need to have discussion because store to nullptr is UB but we are making it as defined behavior only for these intrinsics.
> Personally I like they have consistent behavior and in document side we just make a note for users that vl should not be a null pointer.

https://github.com/riscv-non-isa/rvv-intrinsic-doc/issues/153


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