Add a VT argument to getMinimalPhysRegClass and replace the copy related uses
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 29 Jun 2010 14:02:34 +0000 (14:02 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 29 Jun 2010 14:02:34 +0000 (14:02 +0000)
commitd31f972bd33de85071c716f69bf5c6d735f730f2
tree043445afb1aebab394f490a791eb8f072a6f7377
parent17c6e6d9cf4c9e56a6a28e4d0ae3699d376a8962
Add a VT argument to getMinimalPhysRegClass and replace the copy related uses
of getPhysicalRegisterRegClass with it.

If we want to make a copy (or estimate its cost), it is better to use the
smallest class as more efficient operations might be possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107140 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetRegisterInfo.h
lib/CodeGen/SelectionDAG/InstrEmitter.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
lib/Target/ARM/ARMBaseInstrInfo.cpp
lib/Target/TargetRegisterInfo.cpp
test/CodeGen/ARM/vget_lane.ll