aboutsummaryrefslogtreecommitdiff
path: root/unittests/ADT/TripleTest.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-06-30 08:49:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-06-30 08:49:04 +0000
commit4784f1fc73abf6005b7b7262d395af71b57b1255 (patch)
tree6617b9c2d47d8608bdeaaca16bc7432570058c99 /unittests/ADT/TripleTest.cpp
parent527b6e62926673eb66e03f1250904a74a77667ae (diff)
Add a bit IsUndef to MachineOperand. This indicates the def / use register operand is defined by an implicit_def. That means it can def / use any register and passes (e.g. register scavenger) can feel free to ignore them.
The register allocator, when it allocates a register to a virtual register defined by an implicit_def, can allocate any physical register without worrying about overlapping live ranges. It should mark all of operands of the said virtual register so later passes will do the right thing. This is not the best solution. But it should be a lot less fragile to having the scavenger try to track what is defined by implicit_def. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/TripleTest.cpp')
0 files changed, 0 insertions, 0 deletions