[PATCH] [Peephole] Advanced rewriting of copies to avoid cross register banks copies.

Quentin Colombet qcolombet at apple.com
Tue Jun 17 15:09:31 PDT 2014


REG_SEQUENCEs are variadic instructions. Thus, we should use MachineInstr::getNumOperands instead of MCInstrDesc::getNumOperands to access the actual number of operands.

http://reviews.llvm.org/D4086

Files:
  lib/CodeGen/PeepholeOptimizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4086.10516.patch
Type: text/x-patch
Size: 17232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140617/54e7f19c/attachment.bin>


More information about the llvm-commits mailing list