Fix missing memcpy builtin on ppc64be
authorGuillaume Chatelet <gchatelet@google.com>
Tue, 29 Oct 2019 15:35:11 +0000 (16:35 +0100)
committerGuillaume Chatelet <gchatelet@google.com>
Tue, 29 Oct 2019 15:35:32 +0000 (16:35 +0100)
See D68028

clang/test/CodeGen/no-builtin.cpp
clang/test/Sema/no-builtin.cpp

index 3c5d681..24df100 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-linux-gnu -S -emit-llvm -o - %s | FileCheck %s
+// UNSUPPORTED: ppc64be
 
 // CHECK-LABEL: define void @foo_no_mempcy() #0
 extern "C" void foo_no_mempcy() __attribute__((no_builtin("memcpy"))) {}
index 40781ab..8908f38 100644 (file)
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -fsyntax-only -verify %s
+// UNSUPPORTED: ppc64be
 
 /// Prevent use of all builtins.
 void valid_attribute_all_1() __attribute__((no_builtin)) {}