summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/smul-with-overflow-2.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-07-11 16:45:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-07-11 16:45:17 +0000
commitd7c4963f2f327687f9663643c688e3828a4d4032 (patch)
treeacd6144e8f3505caad65f33451ec9914ce9fad9d /llvm/test/CodeGen/X86/smul-with-overflow-2.ll
parent74e5bf85f79719772a431c05e921e8fece7d4d1d (diff)
downloadbcm5719-llvm-d7c4963f2f327687f9663643c688e3828a4d4032.tar.gz
bcm5719-llvm-d7c4963f2f327687f9663643c688e3828a4d4032.zip
Convert uses of getPhysicalRegisterRegClass in VirtRegRewriter.cpp.
The first one was used just to call isSafeToMoveRegClassDefs. In general, using a more specific reg class is better, in practice only x86 implements that method and the results are always the same. The second one is in FindFreeRegister and is used to check if a register is in a register class, a much more direct call to contains is better as it should cover more cases and is faster. llvm-svn: 108093
Diffstat (limited to 'llvm/test/CodeGen/X86/smul-with-overflow-2.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud