VirtRegRewriter assertion fix.
authorAndrew Trick <atrick@apple.com>
Tue, 22 Feb 2011 06:52:56 +0000 (06:52 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 22 Feb 2011 06:52:56 +0000 (06:52 +0000)
commitfcfcdbc86a56ea97cdb87fe662311df778e85fbb
treebc0a0ee63dd5934f8d14c1fb5c5606642dab19ef
parent4ecc82e592745d6995db83ea158b3c15011a84f8
VirtRegRewriter assertion fix.
Apparently it's ok for multiple operands to "kill" the same register.
Fixes PR9237.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126190 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/VirtRegRewriter.cpp
test/CodeGen/X86/2011-02-21-VirtRegRewriter-KillSubReg.ll [new file with mode: 0644]