[LLVMdev] Operand constrain specification
Demikhovsky, Elena
elena.demikhovsky at intel.com
Wed Jul 17 03:20:07 PDT 2013
Thank you, it helps!
- Elena
From: Jim Grosbach [mailto:grosbach at apple.com]
Sent: Tuesday, July 16, 2013 22:57
To: Hal Finkel; Demikhovsky, Elena
Cc: LLVMdev List
Subject: Re: [LLVMdev] Operand constrain specification
On Jul 16, 2013, at 9:32 AM, Hal Finkel <hfinkel at anl.gov<mailto:hfinkel at anl.gov>> wrote:
----- Original Message -----
Hi,
How can I specify in a .td file that source and destination should
not use the same register?
I think that you can use the EarlyClobber operand flag to achieve this (TableGen has an @earlyclobber constraint; there are some examples in the ARM backend).
Yes, that's exactly what that constraint is for.
-Jim
-Hal
Thanks.
* Elena
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu<mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu<mailto:LLVMdev at cs.uiuc.edu> http://llvm.cs.uiuc.edu<http://llvm.cs.uiuc.edu/>
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130717/9f09b814/attachment.html>
More information about the llvm-dev
mailing list