RE: [PATCH 0/2] [ARC] Small fixes

2016-01-25 Thread Claudiu Zissulescu
> FWIW, there's probably a missed optimization here - these constant - > constant comparisons could be folded down further. They are. The issue is when the CSE runs, wants to validate a new instruction with the propagated constant, which will lead to errors as it checks the proper_comaprison_o

Re: [PATCH 0/2] [ARC] Small fixes

2016-01-25 Thread Joern Wolfgang Rennecke
On 25/01/16 13:33, Claudiu Zissulescu wrote: Please find attached two small patches which are fixing two issues within the ARC backend: 1. The first one fixes predicates used by arcset* patterns. 2. The second one rejects constant-constant comparisons. This situation may happen durring CSE s

[PATCH 0/2] [ARC] Small fixes

2016-01-25 Thread Claudiu Zissulescu
Please find attached two small patches which are fixing two issues within the ARC backend: 1. The first one fixes predicates used by arcset* patterns. 2. The second one rejects constant-constant comparisons. This situation may happen durring CSE step. Ok to apply? Claudiu Claudiu Zissulescu (2