From: Daniel Dunbar Date: Mon, 11 May 2009 23:06:15 +0000 (+0000) Subject: Test for x86 target features, I forgot to commit this. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4508524a6c7f95155f8aec0d2af4cae59c556ae4;p=clang Test for x86 target features, I forgot to commit this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71492 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/x86_features.c b/test/Driver/x86_features.c new file mode 100644 index 0000000000..efb3681f9d --- /dev/null +++ b/test/Driver/x86_features.c @@ -0,0 +1,3 @@ +// RUN: clang -ccc-host-triple i386-unknown-unknown -### -S %s -msse -msse4 -mno-sse -mno-mmx -msse 2> %t && +// RUN: grep '"-target-feature" "+sse" "-target-feature" "+sse4" "-target-feature" "-sse" "-target-feature" "-mmx" "-target-feature" "+sse"' %t +