Skip to content
Commit dc4ff531 authored by Chris Lattner's avatar Chris Lattner
Browse files

Eliminate X86ISD::TEST, using X86ISD::CMP instead. Match X86ISD::CMP patterns

using test, which provides nice simplifications like:

-       movl %edi, %ecx
-       andl $2, %ecx
-       cmpl $0, %ecx
+       testl $2, %edi
        je LBB1_11      #cond_next90

There are a couple of dagiselemitter deficiencies that this exposes, they will
be handled later.

llvm-svn: 30156
parent 1b7f09cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment