summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-11-29 15:45:05 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-11-29 15:45:05 +0000
commit4fb02effccf359d50cb71cf60ba71ea31efe39b7 (patch)
tree6439b60b987d81dad75bfa263b453f1ca0e55d04
parent926ee459c40dc6e22945439d278f6e4ec553a640 (diff)
downloadbcm5719-llvm-4fb02effccf359d50cb71cf60ba71ea31efe39b7.tar.gz
bcm5719-llvm-4fb02effccf359d50cb71cf60ba71ea31efe39b7.zip
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. llvm-svn: 347873
-rw-r--r--clang/include/clang/Basic/Builtins.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Basic/Builtins.def b/clang/include/clang/Basic/Builtins.def
index 9b94c97ba46..7d8226def31 100644
--- a/clang/include/clang/Basic/Builtins.def
+++ b/clang/include/clang/Basic/Builtins.def
@@ -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")
OpenPOWER on IntegriCloud