[LLVMdev] Instruction Constraints Question

Krzysztof Parzyszek kparzysz at codeaurora.org
Wed Jan 23 14:27:38 PST 2013


On 1/23/2013 3:33 PM, Anton Korobeynikov wrote:
>> It doesn't look like TableGen supports Constraints beyond EARLY_CLOBBER
>> and TIED_TO.  We would need to add a constraint such as "$dst != $src1,
>> $dst != $mask, $src1 != $mask" to the current patterns to enforce the
>> rules.
> You can emulate such constraints via early clobbing. Just mark dst as
> early clobbing.

How would you emulate src1 != mask via early clobbing?

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list