Displaying 2 results from an estimated 2 matches for "b368244e".
Did you mean:
368244
2012 Oct 10
0
[LLVMdev] Solicit code review (change to CodeGen)
LGTM.
I will commit.
On Oct 10, 2012, at 1:20 PM, Shuxin Yang <shuxin.llvm at gmail.com> wrote:
> Hi,
>
> The attached is the fix to radar://11663049. The optimization can be outlined by following rules:
>
> (select (x != c), e, c) -> select (x != c), e, x),
> (select (x == c), c, e) -> select (x == c), x, e)
> where the <c> is an integer
2012 Oct 10
2
[LLVMdev] Solicit code review (change to CodeGen)
Hi,
The attached is the fix to radar://11663049. The optimization can be
outlined by following rules:
(select (x != c), e, c) -> select (x != c), e, x),
(select (x == c), c, e) -> select (x == c), x, e)
where the <c> is an integer constant.
The reason for this change is that : on x86,
conditional-move-from-constant needs two instructions;
however,