OSDN Git Service

refactor compare emission out into a new X86FastEmitCompare method,
authorChris Lattner <sabre@nondot.org>
Wed, 15 Oct 2008 04:26:38 +0000 (04:26 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 15 Oct 2008 04:26:38 +0000 (04:26 +0000)
commit9a08a61d7908004b061d560b11917e5c1c7ecc02
treeb454d17d3f94500eda8950edd84a4210b928f28c
parent0e13c78347bdcd1a4ba9b2e78d1389a46bf52c2c
refactor compare emission out into a new X86FastEmitCompare method,
which makes it easy to share the compare/imm folding logic with 'setcc'.
This shaves a bunch of instructions off the common select case, which
happens a lot in llvm-gcc.

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