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

Jingyue Wu via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 16:01:24 PDT 2016


jingyue accepted this revision.
jingyue added a comment.
This revision is now accepted and ready to land.

Other than that FIXME, pretty straightforward. LGTM


================
Comment at: lib/Target/NVPTX/NVPTXISelLowering.cpp:1621
@@ -1620,3 +1620,3 @@
       for (unsigned i = 0, e = Ins.size(); i != e; ++i) {
         unsigned sz = VTs[i].getSizeInBits();
         unsigned AlignI = GreatestCommonDivisor64(RetAlign, Offsets[i]);
----------------
Maybe call it BitWidth instead? 


http://reviews.llvm.org/D17872





More information about the llvm-commits mailing list