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

Wang Pengcheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 27 01:18:33 PDT 2022


pcwang-thead updated this revision to Diff 432486.
pcwang-thead added a comment.

- Generate IRs to compare destination and null. Only extract and store new vl iff destination is not null.
- Add a test to show optimized code.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126461/new/

https://reviews.llvm.org/D126461

Files:
  clang/include/clang/Basic/riscv_vector.td
  clang/test/CodeGen/RISCV/rvv-intrinsics/vleff-optimized.c
  clang/test/CodeGen/RISCV/rvv-intrinsics/vleff.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126461.432486.patch
Type: text/x-patch
Size: 159774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220527/452a19d1/attachment-0001.bin>


More information about the cfe-commits mailing list