Re: [PATCH][ARM] Fix bug in add patterns due to commutativity modifier

2013-07-25 Thread Richard Earnshaw
On 25/07/13 16:31, Kyrylo Tkachov wrote: Hi all, Some of the new alternatives added to the add patterns in arm.md recently to accommodate 16-bit encodings have the output template "add %0, %2" if operand 1 is the same register as the destination (operand 0). This would be fine, except that the t

[PATCH][ARM] Fix bug in add patterns due to commutativity modifier

2013-07-25 Thread Kyrylo Tkachov
Hi all, Some of the new alternatives added to the add patterns in arm.md recently to accommodate 16-bit encodings have the output template "add %0, %2" if operand 1 is the same register as the destination (operand 0). This would be fine, except that the two source operands for the add patterns are