[llvm-commits] [llvm] r82503 - /llvm/trunk/lib/CodeGen/LowerSubregs.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Sep 21 21:50:03 PDT 2009


Evan Cheng <evan.cheng at apple.com> writes:

> 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.

Thanks.

Is IMPLICIT_DEF variadic? Otherwise, the machine code verifier should
have caught this.

/jakob




More information about the llvm-commits mailing list