author | Jakob Stoklund Olesen <stoklund@2pi.dk> | |
Fri, 3 Feb 2012 20:43:35 +0000 (20:43 +0000) | ||
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | |
Fri, 3 Feb 2012 20:43:35 +0000 (20:43 +0000) | ||
commit | 59cb77fb11ec547f60ef0ff4a8ccf3bd8007ae46 | |
tree | 62beb63528ad9dfd9e24cccea7fcc3b6da24d8df | tree | snapshot (tar.xz tar.gz zip) |
parent | ee8901c08fb27e98078326706a49dba70e1768a3 | commit | diff |
Handle all live physreg defs in the same place.
SelectionDAG has 4 different ways of passing physreg defs to users.
Collect all of the uses at the same time, and pass all of them to
MI->setPhysRegsDeadExcept() to mark the remaining defs dead.
The setPhysRegsDeadExcept() function will soon add the required
implicit-defs to instructions with register mask operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149708 91177308-0d34-0410-b5e6-96231b3b80d8
SelectionDAG has 4 different ways of passing physreg defs to users.
Collect all of the uses at the same time, and pass all of them to
MI->setPhysRegsDeadExcept() to mark the remaining defs dead.
The setPhysRegsDeadExcept() function will soon add the required
implicit-defs to instructions with register mask operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149708 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineInstr.cpp | diff | blob | history | |
lib/CodeGen/SelectionDAG/InstrEmitter.cpp | diff | blob | history |