[PATCH] D24330: Add some MS aliases for existing intrinsics

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 13 11:32:05 PDT 2016


rnk added inline comments.

================
Comment at: test/Sema/implicit-intel-builtin-decl.c:4
@@ +3,3 @@
+void f() {
+  (void)_mm_getcsr(); // expected-warning{{implicitly declaring library function '_mm_getcsr'}} \
+  // expected-note{{include the header <xmmintrin.h> or explicitly provide a declaration for '_mm_getcsr'}}
----------------
Can you add a C++ test? I think you'll get "undeclared identifier '_mm_getcsr'" instead of this helpful diagnostic.


https://reviews.llvm.org/D24330





More information about the cfe-commits mailing list