From: NAKAMURA Takumi Date: Mon, 8 Jul 2013 06:38:51 +0000 (+0000) Subject: clang/test/CodeGen/2008-01-25-ByValReadNone.c: Add explicit -triple x86_64-unknown... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=437c08a4a63e42772c252e7a60a93825052a3e10;p=clang clang/test/CodeGen/2008-01-25-ByValReadNone.c: Add explicit -triple x86_64-unknown-unknown. It would emit @llvm.memcpy with "-triple x86_64-(mingw32|win32)" and had been failing since Nick's r185735. ; Function Attrs: nounwind declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i32, i1) #1 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185796 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/2008-01-25-ByValReadNone.c b/test/CodeGen/2008-01-25-ByValReadNone.c index ca21f6c443..b3b5861a4d 100644 --- a/test/CodeGen/2008-01-25-ByValReadNone.c +++ b/test/CodeGen/2008-01-25-ByValReadNone.c @@ -1,7 +1,8 @@ -// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s // XFAIL: mips +// It could hit in @llvm.memcpy with "-triple x86_64-(mingw32|win32)". // CHECK-NOT: readonly // CHECK-NOT: readnone