[PATCH] D48712: [X86] Lowering integer truncation intrinsics to native IR

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 28 12:12:53 PDT 2018


craig.topper added inline comments.


================
Comment at: clang/lib/Headers/avx512vlintrin.h:33
 
+typedef short __v2hi __attribute__((__vector_size__(4)));
+typedef char __v4qi __attribute__((__vector_size__(4)));
----------------
Can you just do a local typedef in the functions that need them? That way we don't expose them to all users of the header.


https://reviews.llvm.org/D48712





More information about the cfe-commits mailing list