[PATCH] D140686: [WIP][Clang][RISCV] Update operand order for vmerge and vcompress
Yueh-Ting (eop) Chen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 27 01:16:36 PST 2022
eopXD added a comment.
This patch is not ready yet since currently we don't have a pull request under rvv-intrinsic-doc to match to this. The pull request will be created in the near future.
================
Comment at: clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vcompress.c:514
// CHECK-RV64-NEXT: entry:
-// CHECK-RV64-NEXT: [[TMP0:%.*]] = call <vscale x 1 x i32> @llvm.riscv.vcompress.nxv1i32.i64(<vscale x 1 x i32> poison, <vscale x 1 x i32> [[SRC:%.*]], <vscale x 1 x i1> [[MASK:%.*]], i64 [[VL:%.*]])
-// CHECK-RV64-NEXT: ret <vscale x 1 x i32> [[TMP0]]
----------------
The change from `poison` to `undef` is due to value filled in back in the default under `RISCVVEmitter.cpp`. I will have another patch amend this and rebase this patch upon the fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140686/new/
https://reviews.llvm.org/D140686
More information about the cfe-commits
mailing list