r347873 - Mark __builtin_shufflevector as using custom type checking
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 29 07:45:06 PST 2018
Author: arsenm
Date: Thu Nov 29 07:45:05 2018
New Revision: 347873
URL: http://llvm.org/viewvc/llvm-project?rev=347873&view=rev
Log:
Mark __builtin_shufflevector as using custom type checking
The custom handling seems to all be implemented already.
This avoids regressions in a future patch when float vectors
are ordinarily promoted to double vectors in variadic calls.
Modified:
cfe/trunk/include/clang/Basic/Builtins.def
Modified: cfe/trunk/include/clang/Basic/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Builtins.def?rev=347873&r1=347872&r2=347873&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/Builtins.def (original)
+++ cfe/trunk/include/clang/Basic/Builtins.def Thu Nov 29 07:45:05 2018
@@ -538,7 +538,7 @@ BUILTIN(__builtin_readcyclecounter, "ULL
BUILTIN(__builtin_trap, "v", "nr")
BUILTIN(__builtin_debugtrap, "v", "n")
BUILTIN(__builtin_unreachable, "v", "nr")
-BUILTIN(__builtin_shufflevector, "v." , "nc")
+BUILTIN(__builtin_shufflevector, "v." , "nct")
BUILTIN(__builtin_convertvector, "v." , "nct")
BUILTIN(__builtin_alloca, "v*z" , "Fn")
BUILTIN(__builtin_alloca_with_align, "v*zIz", "Fn")
More information about the cfe-commits
mailing list