Handle calls which produce i1 results: promote to i8 but and it with 1 to get the...
authorEvan Cheng <evan.cheng@apple.com>
Mon, 8 Sep 2008 17:15:42 +0000 (17:15 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 8 Sep 2008 17:15:42 +0000 (17:15 +0000)
commitdebdea0a6693193d8a2968616c9c51c0bbede4ae
tree367fbe6dca284953bceceeb732f9db1062aeef38
parent245d0ab166219708b511f04519d9e65d46a3df23
Handle calls which produce i1 results: promote to i8 but and it with 1 to get the low bit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55925 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/fast-isel-call.ll [new file with mode: 0644]