Fold immediates into compares when possible, producing "cmp $4, %eax" instead of
authorChris Lattner <sabre@nondot.org>
Wed, 15 Oct 2008 04:13:29 +0000 (04:13 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Oct 2008 04:13:29 +0000 (04:13 +0000)
commit0e13c78347bdcd1a4ba9b2e78d1389a46bf52c2c
tree9e4993889ddadc41363309b8f6fc6441c7a3fcfc
parent709d829d3cb451599f1834b8cd9af0d9083107e0
Fold immediates into compares when possible, producing "cmp $4, %eax" instead of
loading 4 into a register and then doing the compare.

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