[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 02:33:52 PST 2022
eopXD added inline comments.
================
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]]
----------------
eopXD wrote:
> 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.
Turns out I should fix the `ManaulCodeGen`. Fixed in latest update.
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