https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120036

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
#2  0x00000000008c8803 in gen_rtx_SUBREG (mode=E_V2HFmode, reg=0x7ffff77965b8,
offset=...) at /home/apinski/src/upstream-gcc-match/gcc/gcc/emit-rtl.cc:1030
1030    gen_rtx_SUBREG (machine_mode mode, rtx reg, poly_uint64 offset)
(gdb) p debug_rtx(reg)
(reg:V16QI 474)


(gdb) p debug_rtx(insn)
(insn 20 19 478 44 (set (reg:V2HF 134 [ vect_sum1$native_247.177 ])
        (const_vector:V2HF [
                (const_double:HF 0.0 [0x0.0p+0]) repeated x2
            ])) "t.cc":47:8 2029 {*movv2hf_internal}
     (nil))
$5 = void
(gdb) p debug_rtx(vector_const)
(reg:V16QI 474)

So trying to create a subreg from V16QI to V2HF but validate_subreg is failing.

Reply via email to