Skip to content
Commit 0cb9dd7a authored by Chris Lattner's avatar Chris Lattner
Browse files

switch the register iterator to act more like hte LLVM value iterator: dereferencing

it now returns the machineinstr of the use.  To get the operand, use I.getOperand().

Add a new MachineRegisterInfo::replaceRegWith, which is basically like
Value::replaceAllUsesWith.

llvm-svn: 45482
parent 097102c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment