Fix missing memcpy builtin on ppc64be

See D68028
This commit is contained in:
Guillaume Chatelet 2019-10-29 16:35:11 +01:00
parent 501cf25839
commit 5607ff12fa
2 changed files with 2 additions and 0 deletions

View 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"))) {}

View 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)) {}