OSDN Git Service

Implement support for fast isel of calls of i1 arguments, even though they are illegal,
authorChris Lattner <sabre@nondot.org>
Tue, 19 Apr 2011 05:09:50 +0000 (05:09 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 19 Apr 2011 05:09:50 +0000 (05:09 +0000)
commitb44101c1401c23fb86fe649309f52e823206147d
tree033481cbbbbb8e116f4aceb75a01e882bddc01b3
parente03b8d31624b415805940500a40195a540ca94be
Implement support for fast isel of calls of i1 arguments, even though they are illegal,
when they are a truncate from something else.  This eliminates fully half of all the
fastisel rejections on a test c++ file I'm working with, which should make a substantial
improvement for -O0 compile of c++ code.

This fixed rdar://9297003 - fast isel bails out on all functions taking bools

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129752 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/fast-isel-x86-64.ll