[LLVMdev] Kill-flag in two-address instruction tied operands

Jakob Stoklund Olesen stoklund at 2pi.dk
Tue Jul 14 17:50:21 PDT 2009


On 15/07/2009, at 02.43, Evan Cheng wrote:
>> I just want to verify the policy regarding two-address <kill> flags:
>>
>> Case a: <kill> is not allowed. I should add a check to the verifier
>> for this. Find out who is setting the flags.
>> Case b: <kill> is mandatory. Remove special-case code from verifier,
>> fix regscavenger.
>> Case c: <kill> is don't care. Fix regscavenger.
>
> It's 'a'.

Thanks, I'll add a check to the verifier so it barfs on kill flags.  
Currently it implements c: Don't care.

/jakob




More information about the llvm-dev mailing list