Use the proper clobber check in handleLiveInRegister().
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 14 Feb 2012 23:46:24 +0000 (23:46 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 14 Feb 2012 23:46:24 +0000 (23:46 +0000)
commit6b7913893bcd47f52eff71e39e50c42511c4ed36
tree7537b150822cf165837803bdffa47aafa0491e10
parentf658af5484855b37c6c651e9e5e671982d39af26
Use the proper clobber check in handleLiveInRegister().

When a physreg is live in to a basic block, look for any instruction in
the block that clobbers the physreg.

The instruction doesn't have to properly redefine the register, any
overlapping clobber is OK.

This slightly changes live ranges when compiling with register masks.

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