diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-22 21:39:34 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-09-22 21:39:34 +0000 |
commit | 08f5cdf5b33b8202edddb24abee6af2a0b3ae49c (patch) | |
tree | 7f10f65f263a2d916cb4e5032ebb0048c4b5bb7a /lib/MC/MCModule.cpp | |
parent | 91fb536a345dc268e5b73dbddb9bee4cba87b28f (diff) |
Constrain register classes instead of emitting copies.
Sometimes register class constraints are trivial, like GR32->GR32_NOSP,
or GPR->rGPR. Teach InstrEmitter to simply constrain the virtual
register instead of emitting a copy in these cases.
Normally, these copies are handled by the coalescer. This saves some
coalescer work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCModule.cpp')
0 files changed, 0 insertions, 0 deletions