[llvm] [RISCV] Model dest EEW and fix peepholes not checking EEW (PR #105945)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 24 11:46:56 PDT 2024


================
@@ -201,21 +201,24 @@ let Predicates = [HasVendorXSfvcp], mayLoad = 0, mayStore = 0,
   defm FVW : CustomSiFiveVCIX<"fvw", VCIX_XVW, VR,    VR,    FPR32>, Sched<[]>;
 }
 
-let Predicates = [HasVendorXSfvqmaccdod], DecoderNamespace = "XSfvqmaccdod" in {
+let Predicates = [HasVendorXSfvqmaccdod], DecoderNamespace = "XSfvqmaccdod",
+    DestEEW = EEWSEWx4 in {
----------------
topperc wrote:

Do we need to know that the input EMUL and output EMUL are the same for these even though the element width changes?

https://github.com/llvm/llvm-project/pull/105945


More information about the llvm-commits mailing list