* Factor a bunch of binary operator cases into shared code.
authorChris Lattner <sabre@nondot.org>
Tue, 11 Jan 2005 21:19:59 +0000 (21:19 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 11 Jan 2005 21:19:59 +0000 (21:19 +0000)
commita5ade060db50a61ee383ea45f3205b3a697d54ff
tree2b142952ff4ceacadb29b3bbd89ed41eecfc0dac
parent7abf8201827be0c65272ca76d8afca0e46062be1
* Factor a bunch of binary operator cases into shared code.
* Fold loads into Add, sub, and, or, xor and mul when possible.
* Codegen shl X, 1 as add X, X

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19483 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelPattern.cpp