[PATCH] D31667: [Sema] Extend GetSignedVectorType to deal with non ExtVector types

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 5 18:32:30 PDT 2017


ahatanak added inline comments.


================
Comment at: lib/Sema/SemaExpr.cpp:9736
+  }
+
+  if (TypeSize == Context.getTypeSize(Context.LongLongTy))
----------------
This isn't particularly urgent, but can we use ASTContext ::getIntTypeForBitwidth here rather than calling getVectorType or getExtVectorType in many places?



https://reviews.llvm.org/D31667





More information about the cfe-commits mailing list