aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineRegisterInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-07-07 18:26:29 +0000
committerDan Gohman <gohman@apple.com>2008-07-07 18:26:29 +0000
commit6d9cdd56173fb915a9e3a8f0f6b5a8ed9bed1098 (patch)
treef0fd01dcd9027f62e7e0176ab6bba577f17087d9 /lib/CodeGen/MachineRegisterInfo.cpp
parente4706a0b51cbb6ba74844dd70a51a5fea0d2c336 (diff)
Remove most of the uses of SDOperandPtr, usually replacing it with a
simple const SDOperand*, which is what's usually needed. For AddNodeIDOperands, which is small, just duplicate the function to accept an SDUse*. For SelectionDAG::getNode - Add an overload that accepts SDUse* that copies the operands into a temporary SDOperand array, but also has special-case checks for 0 through 3 operands to avoid the copy in the common cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineRegisterInfo.cpp')
0 files changed, 0 insertions, 0 deletions