[PATCH] D123385: [RISCV] Precommit test for D121881
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 13 02:20:58 PDT 2022
frasercrmck added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/rvv/allone-masked-to-unmasked.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs < %s | FileCheck %s
+
----------------
Maybe we should be testing rv32 too?
================
Comment at: llvm/test/CodeGen/RISCV/rvv/allone-masked-to-unmasked.ll:13
+
+; Use unmasked instruction because the mask operand is allone mask;
+define <vscale x 1 x i8> @test0(<vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2) nounwind {
----------------
trailing semicolon
================
Comment at: llvm/test/CodeGen/RISCV/rvv/allone-masked-to-unmasked.ll:33
+
+; Regardless of the policy operand, TAIL_AGNOSIC is used because the tie operand is IMPLICIT_DEF
+define <vscale x 1 x i8> @test1(<vscale x 1 x i8> %0, <vscale x 1 x i8> %1, i64 %2) nounwind {
----------------
Typo: `AGNOSIC` -> `AGNOSTIC`
Should there be a FIXME that we can use an unmasked instruction here?
================
Comment at: llvm/test/CodeGen/RISCV/rvv/allone-masked-to-unmasked.ll:55
+
+; Merge operand is kept because of the policy operand
+define <vscale x 1 x i8> @test2(<vscale x 1 x i8> %0, <vscale x 1 x i8> %1, <vscale x 1 x i8> %2, i64 %3) nounwind {
----------------
Again: a FIXME about unmasked instructions?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123385/new/
https://reviews.llvm.org/D123385
More information about the llvm-commits
mailing list