When copying to/from a constant register interferences can be ignored.
Also update the documentation for isConstantPhysReg() to make it more
obvious that this transformation is valid.
Paths
| Differential D26106
RegisterCoalescer: Ignore interferences for constant physregs ClosedPublic Authored by MatzeB on Oct 28 2016, 5:09 PM.
Details Summary When copying to/from a constant register interferences can be ignored. Also update the documentation for isConstantPhysReg() to make it more
Diff Detail
Event TimelineComment Actions This seems reasonable to me, but I'm not familiar enough with the details of this pass to confidently approve it, so you should probably wait for Quentin's approval. This revision is now accepted and ready to land.Oct 31 2016, 5:05 PM Closed by commit rL286503: RegisterCoalescer: Ignore interferences for constant physregs (authored by matze). · Explain WhyNov 10 2016, 1:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 77548 llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h
llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
llvm/trunk/test/CodeGen/AArch64/machine_cse_impdef_killflags.ll
llvm/trunk/test/CodeGen/AArch64/regcoal-constreg.mir
|