[PATCH] D14750: Support for function-live-in virtual registers

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 16:09:24 PST 2015


sunfish updated this revision to Diff 40842.
sunfish added a comment.

getVRegDef actually asserts if there isn't exactly one def, rather than returning nullptr, so make getVRegDefMBB do that too.


Repository:
  rL LLVM

http://reviews.llvm.org/D14750

Files:
  include/llvm/CodeGen/MachineRegisterInfo.h
  lib/CodeGen/LiveRangeCalc.cpp
  lib/CodeGen/LiveVariables.cpp
  lib/CodeGen/MachineCSE.cpp
  lib/CodeGen/MachineLICM.cpp
  lib/CodeGen/MachineRegisterInfo.cpp
  lib/CodeGen/MachineVerifier.cpp
  lib/CodeGen/PeepholeOptimizer.cpp
  lib/CodeGen/RegisterCoalescer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14750.40842.patch
Type: text/x-patch
Size: 9413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151121/b9e97231/attachment.bin>


More information about the llvm-commits mailing list