r185796 - clang/test/CodeGen/2008-01-25-ByValReadNone.c: Add explicit -triple x86_64-unknown-unknown.

NAKAMURA Takumi geek4civic at gmail.com
Sun Jul 7 23:38:51 PDT 2013


Author: chapuni
Date: Mon Jul  8 01:38:51 2013
New Revision: 185796

URL: http://llvm.org/viewvc/llvm-project?rev=185796&view=rev
Log:
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

Modified:
    cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c

Modified: cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c?rev=185796&r1=185795&r2=185796&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c (original)
+++ cfe/trunk/test/CodeGen/2008-01-25-ByValReadNone.c Mon Jul  8 01:38:51 2013
@@ -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
 





More information about the cfe-commits mailing list