[PATCH] D159231: [RISCV] Set SEW on VPseudoTernaryWithTailPolicy and VPseudoTernaryWithTailPolicyRoundingMode
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 11:59:13 PDT 2023
michaelmaitland updated this revision to Diff 555132.
michaelmaitland added a comment.
I removed test case as I plan on adding one that is more complete and shows the intended behavior more effectivley.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159231/new/
https://reviews.llvm.org/D159231
Files:
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Index: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
+++ llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
@@ -3143,7 +3143,7 @@
int sew,
string Constraint = "",
bit Commutable = 0> {
- let VLMul = MInfo.value in {
+ let VLMul = MInfo.value, SEW=sew in {
defvar mx = MInfo.MX;
let isCommutable = Commutable in
def "_" # mx # "_E" # sew : VPseudoTernaryNoMaskWithPolicy<RetClass, Op1Class, Op2Class, Constraint>;
@@ -3158,7 +3158,7 @@
int sew,
string Constraint = "",
bit Commutable = 0> {
- let VLMul = MInfo.value in {
+ let VLMul = MInfo.value, SEW=sew in {
defvar mx = MInfo.MX;
let isCommutable = Commutable in
def "_" # mx # "_E" # sew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159231.555132.patch
Type: text/x-patch
Size: 1053 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230831/d3bc3d42/attachment.bin>
More information about the llvm-commits
mailing list