[llvm-commits] [llvm] r67728 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Evan Cheng
echeng at apple.com
Wed Mar 25 23:21:00 PDT 2009
On Mar 25, 2009, at 10:32 PM, Bill Wendling wrote:
> On Mar 25, 2009, at 10:18 PM, Evan Cheng wrote:
>
>> Hi Bill,
>>
>> Thanks. But shouldn't this be a target independent dag combine?
>>
> I'll see if it's feasible.
>
>> Also, what's the code being generated?
>
> The code generated before this was something like:
>
> mov 12(%esp), %eax
> and $2, %eax
> shr %eax
> test %eax, %eax
> je ...
>
> Now it's just
>
> test $2, 12(%esp)
> je ...
>
>> On x86, AND c + CMP 0 == TEST c, right?
>>
> Yes.
Cool. Thanks.
Evan
>
> -bw
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list