commit | 0e13c78347bdcd1a4ba9b2e78d1389a46bf52c2c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Oct 15 04:13:29 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Oct 15 04:13:29 2008 +0000 |
tree | 9e4993889ddadc41363309b8f6fc6441c7a3fcfc | |
parent | 709d829d3cb451599f1834b8cd9af0d9083107e0 [diff] |
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