commit | bf4699c56100a0184bbe4fb53937c7204ca1ceb0 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Wed Oct 06 23:54:39 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Wed Oct 06 23:54:39 2010 +0000 |
tree | 71539b0c1c119eca32aa95dcbf80949f41355875 | |
parent | 893ab5d7014dd112fb111a67504bd556be9bd393 [diff] |
Add MachineRegisterInfo::constrainRegClass and use it in MachineCSE. This function is intended to be used when inserting a machine instruction that trivially restricts the legal registers, like LEA requiring a GR32_NOSP argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115875 91177308-0d34-0410-b5e6-96231b3b80d8