[PATCH] D26106: RegisterCoalescer: Ignore interferences for constant physregs

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 17:09:44 PDT 2016


MatzeB created this revision.
MatzeB added reviewers: qcolombet, gberry.
MatzeB added a subscriber: llvm-commits.
MatzeB set the repository for this revision to rL LLVM.
Herald added a subscriber: mcrosier.

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.


Repository:
  rL LLVM

https://reviews.llvm.org/D26106

Files:
  include/llvm/CodeGen/MachineRegisterInfo.h
  lib/CodeGen/RegisterCoalescer.cpp
  test/CodeGen/AArch64/machine_cse_impdef_killflags.ll
  test/CodeGen/AArch64/regcoal-constreg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26106.76277.patch
Type: text/x-patch
Size: 5707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161029/8b4389f1/attachment.bin>


More information about the llvm-commits mailing list