commit | ffc0b2663e4beaea1b584db607efd60660f5a74e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Sep 07 20:33:45 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Sep 07 20:33:45 2006 +0000 |
tree | 092c10c96c2ea09f98fbdfaf63c944bbc29e1f97 | |
parent | b14ca605d712cfcbabb9873b2ecaa623a295e3d0 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30156 91177308-0d34-0410-b5e6-96231b3b80d8