commit | 18b2c9d3bf5a6633535eaad8388f0353b14cbfb8 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri May 21 20:02:01 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri May 21 20:02:01 2010 +0000 |
tree | 84fed31e7a52adb57e1a872b53945dd7c5aee898 | |
parent | 379fe83dda937658b6b08d3c531f0db6c25b7dd7 [diff] |
Add MachineInstr::readsWritesVirtualRegister() to determine if an instruction reads or writes a register. This takes partial redefines and undef uses into account. Don't actually use it yet. That caused miscompiles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104372 91177308-0d34-0410-b5e6-96231b3b80d8