[llvm-commits] [llvm] r67728 - /llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Bill Wendling
isanbard at gmail.com
Wed Mar 25 22:32:21 PDT 2009
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.
-bw
More information about the llvm-commits
mailing list