Re: [PATCH 06/25] Remove constant vec_select restriction.

2018-09-11 Thread Jeff Law
On 9/5/18 5:49 AM, a...@codesourcery.com wrote: > > The vec_select operator is documented to require a const_int for the lane > selector operand, but GCN has an instruction that can select the lane at > runtime, so it seems reasonable to remove this restriction. > > This patch simply replaces ass

[PATCH 06/25] Remove constant vec_select restriction.

2018-09-05 Thread ams
The vec_select operator is documented to require a const_int for the lane selector operand, but GCN has an instruction that can select the lane at runtime, so it seems reasonable to remove this restriction. This patch simply replaces assertions that the operand is constant with early exits from t