]> granicus.if.org Git - clang/commitdiff
Mark __builtin_shufflevector as using custom type checking
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 29 Nov 2018 15:45:05 +0000 (15:45 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 29 Nov 2018 15:45:05 +0000 (15:45 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@347873 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Builtins.def

index 9b94c97ba46a21059240b45818b99c6f41c78670..7d8226def3176cb1a16a51a9ccd47398c2653267 100644 (file)
@@ -538,7 +538,7 @@ BUILTIN(__builtin_readcyclecounter, "ULLi", "n")
 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")