[PATCH] D17872: [NVPTX] Add a truncate DAG node to some calls.

Jingyue Wu via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 17:25:26 PST 2016


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





More information about the llvm-commits mailing list