From: Peter Collingbourne Date: Fri, 16 Sep 2016 22:26:45 +0000 (+0000) Subject: Add target triples to fix test on non-x86. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=449ce31d5120a192e62d21fdf9389b0e8ca06d8e;p=clang Add target triples to fix test on non-x86. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281790 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/nobuiltin.c b/test/CodeGen/nobuiltin.c index fa71d60cc7..876c7b3276 100644 --- a/test/CodeGen/nobuiltin.c +++ b/test/CodeGen/nobuiltin.c @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 -O1 -S -o - %s | FileCheck -check-prefix=STRCPY -check-prefix=MEMSET %s -// RUN: %clang_cc1 -fno-builtin -O1 -S -o - %s | FileCheck -check-prefix=NOSTRCPY -check-prefix=NOMEMSET %s -// RUN: %clang_cc1 -fno-builtin-memset -O1 -S -o - %s | FileCheck -check-prefix=STRCPY -check-prefix=NOMEMSET %s +// RUN: %clang_cc1 -triple x86_64-linux-gnu -O1 -S -o - %s | FileCheck -check-prefix=STRCPY -check-prefix=MEMSET %s +// RUN: %clang_cc1 -triple x86_64-linux-gnu -fno-builtin -O1 -S -o - %s | FileCheck -check-prefix=NOSTRCPY -check-prefix=NOMEMSET %s +// RUN: %clang_cc1 -triple x86_64-linux-gnu -fno-builtin-memset -O1 -S -o - %s | FileCheck -check-prefix=STRCPY -check-prefix=NOMEMSET %s void PR13497() { char content[2];