Minor bug fix. LowerSubregs should translate
authorEvan Cheng <evan.cheng@apple.com>
Tue, 22 Sep 2009 00:29:40 +0000 (00:29 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 22 Sep 2009 00:29:40 +0000 (00:29 +0000)
commit1c17c1bc54335564e86bdb7c5e87383feddbc729
treeb091d73997080886b47f2d8859e19f7ca0d5b46a
parent850c9178dc5bc8a49fc41c7cf606bfdd7cd1de3a
Minor bug fix. LowerSubregs should translate
%S0<def> = EXTRACT_SUBREG %Q0<kill>, 1
to
%S0<def> = IMPLICIT_DEF %Q0<imp-use,kill>

Implicit_def does not *read* any register so the operand should be marked "implicit". The missing "implicit" marker on the operand is wrong, but it doesn't actually break anything.

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