Selaa lähdekoodia

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
Daniel Dunbar 16 vuotta sitten
vanhempi
commit
4508524a6c
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      test/Driver/x86_features.c

+ 3 - 0
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
+