Displaying 3 results from an estimated 3 matches for "rl228409".
2017 May 22
5
[poison] is select-of-select to logic+select allowed?
Some InstCombine transforms for select-of-select were added here:
https://reviews.llvm.org/rL228409
But Alive says this is more poisonous:
Name: selsel
%s1 = select i1 %cond1, i8 C1, i8 C2
%s2 = select i1 %cond2, i8 %s1, i8 C2
=>
%andcond = and i1 %cond1, %cond2
%s2 = select i1 %andcond, i8 C1, i8 C2
http://rise4fun.com/Alive/JT6
Are those transforms legal?
-------------- next part -----...
2017 May 23
4
[poison] is select-of-select to logic+select allowed?
...means WRT poison/undef and (2) backing out some optimizations. This is going to be slightly painful but it is the only way forward.
John
On 5/22/17 2:32 PM, Sanjay Patel wrote:
> Some InstCombine transforms for select-of-select were added here:
> <https://reviews.llvm.org/rL228409> https://reviews.llvm.org/rL228409
>
> But Alive says this is more poisonous:
>
> Name: selsel
> %s1 = select i1 %cond1, i8 C1, i8 C2
> %s2 = select i1 %cond2, i8 %s1, i8 C2
> =>
> %andcond = and i1 %cond1, %cond2
> %s2 = select i1 %andcond, i8 C1, i8 C...
2017 May 23
6
[poison] is select-of-select to logic+select allowed?
...means WRT poison/undef and (2) backing out some optimizations. This is going to be slightly painful but it is the only way forward.
John
On 5/22/17 2:32 PM, Sanjay Patel wrote:
> Some InstCombine transforms for select-of-select were added here:
> <https://reviews.llvm.org/rL228409> https://reviews.llvm.org/rL228409
>
> But Alive says this is more poisonous:
>
> Name: selsel
> %s1 = select i1 %cond1, i8 C1, i8 C2
> %s2 = select i1 %cond2, i8 %s1, i8 C2
> =>
> %andcond = and i1 %cond1, %cond2
> %s2 = select i1 %andcond, i8 C1, i8 C...