[clang] 5607ff1 - Fix missing memcpy builtin on ppc64be
Guillaume Chatelet via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 29 08:36:18 PDT 2019
Author: Guillaume Chatelet
Date: 2019-10-29T16:35:32+01:00
New Revision: 5607ff12fad9a54728a3cda0eacaffee02e4b434
URL: https://github.com/llvm/llvm-project/commit/5607ff12fad9a54728a3cda0eacaffee02e4b434
DIFF: https://github.com/llvm/llvm-project/commit/5607ff12fad9a54728a3cda0eacaffee02e4b434.diff
LOG: Fix missing memcpy builtin on ppc64be
See D68028
Added:
Modified:
clang/test/CodeGen/no-builtin.cpp
clang/test/Sema/no-builtin.cpp
Removed:
################################################################################
diff --git a/clang/test/CodeGen/no-builtin.cpp b/clang/test/CodeGen/no-builtin.cpp
index 3c5d681282da..24df100d8717 100644
--- a/clang/test/CodeGen/no-builtin.cpp
+++ b/clang/test/CodeGen/no-builtin.cpp
@@ -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"))) {}
diff --git a/clang/test/Sema/no-builtin.cpp b/clang/test/Sema/no-builtin.cpp
index 40781abd3037..8908f38333bd 100644
--- a/clang/test/Sema/no-builtin.cpp
+++ b/clang/test/Sema/no-builtin.cpp
@@ -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)) {}
More information about the cfe-commits
mailing list