We can have REG_SEQUENCE with IMPLICIT_DEF subregs that are used in
early-clobber instructions. TwoAddrInst should emit a copy for them when
trying to remove the REG_SEQUENCE so that regalloc doesn't assign
overlapping registers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I don't understand this. I would expect that you can always remove a %X.subY = COPY undef %Z statement and nothing changes, why do early-clobber users have any effect on that?
I also don't understand how this helps. This is just IMPLICIT_DEF