]> granicus.if.org Git - clang/commitdiff
clang/test/CodeGen/2008-01-25-ByValReadNone.c: Add explicit -triple x86_64-unknown...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 8 Jul 2013 06:38:51 +0000 (06:38 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 8 Jul 2013 06:38:51 +0000 (06:38 +0000)
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

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

index ca21f6c443a0a3f55f663e529bd4b033d44fc5a0..b3b5861a4dc2193ef91e50b26c35b56c56e7d9e6 100644 (file)
@@ -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