PTX: Reverting implementation of i8.
authorDan Bailey <dan@dneg.com>
Sat, 25 Jun 2011 18:16:28 +0000 (18:16 +0000)
committerDan Bailey <dan@dneg.com>
Sat, 25 Jun 2011 18:16:28 +0000 (18:16 +0000)
commit84149460d5fa2503e953f5800e7cdbf88f161b5a
tree2524593343a6e98f00fbc4a819a2b254f481cf60
parent25b15777df42d5d608810f6881b6c98107481d69
PTX: Reverting implementation of i8.

The .b8 operations in PTX are far more limiting than I first thought. The mov operation isn't even supported, so there's no way of converting a .pred value into a .b8 without going via .b16, which is
not sensible. An improved implementation needs to use the fact that loads and stores automatically extend and truncate to implement support for EXTLOAD and TRUNCSTORE in order to correctly support
boolean values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133873 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PTX/PTXAsmPrinter.cpp
lib/Target/PTX/PTXCallingConv.td
lib/Target/PTX/PTXISelLowering.cpp
lib/Target/PTX/PTXInstrInfo.cpp
lib/Target/PTX/PTXInstrInfo.td
lib/Target/PTX/PTXRegisterInfo.td
lib/Target/PTX/generate-register-td.py
test/CodeGen/PTX/cvt.ll
test/CodeGen/PTX/ld.ll
test/CodeGen/PTX/mov.ll
test/CodeGen/PTX/st.ll