Re: [PATCH,NVPTX] Fix PR83920

2018-01-19 Thread Richard Biener
On January 19, 2018 3:15:45 PM GMT+01:00, Tom de Vries wrote: >On 01/18/2018 02:27 PM, Tom de Vries wrote: >> On 01/18/2018 12:40 AM, Cesar Philippidis wrote: >>> In PR83920, I encountered a nvptx bug where live predicate variables >>> were clobbered before their value

Re: [PATCH,NVPTX] Fix PR83920

2018-01-19 Thread Tom de Vries
On 01/18/2018 02:27 PM, Tom de Vries wrote: On 01/18/2018 12:40 AM, Cesar Philippidis wrote: In PR83920, I encountered a nvptx bug where live predicate variables were clobbered before their value was broadcasted. Hi, I've managed to reproduce the problem based on the description in the PR.

Re: [PATCH,NVPTX] Fix PR83920

2018-01-18 Thread Tom de Vries
On 01/18/2018 12:40 AM, Cesar Philippidis wrote: In PR83920, I encountered a nvptx bug where live predicate variables were clobbered before their value was broadcasted. Hi, I've managed to reproduce the problem based on the description in the PR. Apparently, there were problems in certain

[PATCH,NVPTX] Fix PR83920

2018-01-17 Thread Cesar Philippidis
In PR83920, I encountered a nvptx bug where live predicate variables were clobbered before their value was broadcasted. Apparently, there were problems in certain version of the CUDA driver where the JIT would generate wrong code for shfl broadcasts. The attached patch teaches nvptx_single not to