]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
Use MachineInstr::readsWritesVirtualRegister to determine if a register is read.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 21 May 2010 16:42:30 +0000 (16:42 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 21 May 2010 16:42:30 +0000 (16:42 +0000)
commit00c53caa339f954cb3590a05e8653b864b4355cf
treed161bd9675e4372981b504dcc0ac3e3fb8d041cb
parent2afb7505c5e9ffd08a96fdd4c43f962a50160053
Use MachineInstr::readsWritesVirtualRegister to determine if a register is read.
This correctly handles partial redefines and undef uses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104322 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/MachineInstr.cpp