[RISCV][GISel] Emit G_CONSTANT 0 as a copy from X0. (#67202)
We need to use a COPY so the register coalescer can replace reads of the register we copy to with X0. This is needed so that we use X0 on instructions that don't have an immediate form. This was reviewed as #67202.
parent
7cd01afb
Please register or sign in to comment