PTX: support for select_cc and fixes for setcc
authorJustin Holewinski <justin.holewinski@gmail.com>
Thu, 28 Apr 2011 00:19:56 +0000 (00:19 +0000)
committerJustin Holewinski <justin.holewinski@gmail.com>
Thu, 28 Apr 2011 00:19:56 +0000 (00:19 +0000)
commit2d525c553269b81182d69b93de0395b1d9746264
treef0f4b375da9759659f8eefc644bbf94df3763550
parent9c865333476b6b3390df55a9192599cb20f2971d
PTX: support for select_cc and fixes for setcc

- expansion of SELECT_CC into SETCC
- force SETCC result type to i1
- custom selection for handling i1 using SETCC

Patch by Dan Bailey

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130358 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PTX/PTXISelLowering.cpp
lib/Target/PTX/PTXISelLowering.h