Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 437c08a

Browse files
committed
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
1 parent 1fb09df commit 437c08a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/CodeGen/2008-01-25-ByValReadNone.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
1+
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
22

33
// XFAIL: mips
44

5+
// It could hit in @llvm.memcpy with "-triple x86_64-(mingw32|win32)".
56
// CHECK-NOT: readonly
67
// CHECK-NOT: readnone
78

0 commit comments

Comments
 (0)