[llvm] [InitUndef] Don't use largest super class (PR #107885)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 9 10:43:05 PDT 2024
================
@@ -14,9 +14,9 @@ body: |
; CHECK-NEXT: [[INSERT_SUBREG:%[0-9]+]]:vrm4 = INSERT_SUBREG [[DEF]], [[PseudoVLE32_V_M1_]], %subreg.sub_vrm1_0
; CHECK-NEXT: dead $x0 = PseudoVSETIVLI 0, 210 /* e32, m4, ta, ma */, implicit-def $vl, implicit-def $vtype
; CHECK-NEXT: %pt2:vrm4 = IMPLICIT_DEF
- ; CHECK-NEXT: [[INIT_UNDEF:%[0-9]+]]:vrm2 = INIT_UNDEF
+ ; CHECK-NEXT: [[INIT_UNDEF:%[0-9]+]]:vrm2nov0 = INIT_UNDEF
----------------
lukel97 wrote:
Where are the nov0 register classes coming from in this test case? None of the instructions below are masked so I would have thought that `MRI->getRegClass(MO.getReg());` would have returned vrm2/vr anyway?
https://github.com/llvm/llvm-project/pull/107885
More information about the llvm-commits
mailing list