jingyue added inline comments.
================
Comment at: lib/Target/NVPTX/NVPTXISelLowering.cpp:1641
@@ -1637,3 +1640,3 @@
// trunc i16 to i1/i8
LoadRetVTs.push_back(MVT::i16);
} else
----------------
Why shouldn't we set `needTruncate` here too?
http://reviews.llvm.org/D17872