summaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveInterval.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-04 05:41:20 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-02-04 05:41:20 +0000
commit7e899cbb9127c02c58f6e774186a533b0d00681d (patch)
treeee47769328cfc5e521b6044a7ddf7419b76f6ce8 /lib/CodeGen/LiveInterval.cpp
parentc0dc1b7f9725433325ea06e1272ba7fd411c2eb1 (diff)
downloadllvm-7e899cbb9127c02c58f6e774186a533b0d00681d.tar.gz
llvm-7e899cbb9127c02c58f6e774186a533b0d00681d.tar.bz2
llvm-7e899cbb9127c02c58f6e774186a533b0d00681d.tar.xz
Correctly terminate a physreg redefined by an early clobber.
I don't have a test that fails because of this, but a test case like CodeGen/X86/2009-12-01-EarlyClobberBug.ll exposes the problem. EAX is redefined by a tied early clobber operand on inline asm, and the live range should look like this: %EAX,inf = [48r,64e:0)[64e,80r:1) 0@48r 1@64e Previously, the two values got merged: %EAX,inf = [48r,80r:0) 0@48r With this bug fixed, the REDEF_BY_EC VNInfo flag is no longer needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveInterval.cpp')
0 files changed, 0 insertions, 0 deletions