commit | 35333e16ee1d5154dc58ad38412be025d0d809ff | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Jun 05 18:28:55 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Jun 05 18:28:55 2003 +0000 |
tree | fe9c5a46e5428e0abdea12231902b4eeb3c31177 | |
parent | 76594014f2ce0a88b212d0ea4b7a939ab93c533c [diff] |
Special case simple binary operator X op C This avoid generating a register to hold C, which in turn speeds up the register allocator by a lot: ~9% on 164.gzip and ~17% on 256.bzip2. This also speeds up other passes. This also speeds up execution of the program marginally, and makes the asm much easier to read. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6626 91177308-0d34-0410-b5e6-96231b3b80d8