[PATCH] D124187: [RISCV] Print human-readable VTYPE/SEW/LMUL in MIR

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 20:21:27 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/rvv/emergency-slot.mir:91
+  ; CHECK-NEXT:   dead renamable $x15 = PseudoVSETIVLI 1, 72 /* e16, m1, ta, mu */, implicit-def $vl, implicit-def $vtype
+  ; CHECK-NEXT:   renamable $v25 = PseudoVMV_V_X_M1 killed renamable $x12, $noreg, 4 /* e16,m1 */, implicit $vl, implicit $vtype
   ; CHECK-NEXT:   $x11 = PseudoReadVLENB
----------------
khchen wrote:
> Why the number is changed from 16 to 4?
We used to use SEW instead of log2sew. This test wasn’t updated. 16 isn’t a valid log2sew value.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124187/new/

https://reviews.llvm.org/D124187



More information about the llvm-commits mailing list