[PATCH] [NVPTX] Fix bugs related to isSingleValueType
Jingyue Wu
jingyue at google.com
Mon Dec 8 15:42:12 PST 2014
Added a minor inline comment.
================
Comment at: lib/Target/NVPTX/NVPTXAsmPrinter.cpp:1506
@@ -1505,3 +1505,1 @@
- const VectorType *VTy = dyn_cast<VectorType>(Ty);
- if (VTy) {
----------------
TD->getPrefTypeAlignment(Ty) already handles vector types in a seemingly more reasonable way. For instance, if the element type of Ty is <5 x float>, the deleted code here returns 20, but getPrefTypeAlignment returns 32.
http://reviews.llvm.org/D6573
More information about the llvm-commits
mailing list