We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ed92eb commit 8f2d850Copy full SHA for 8f2d850
clang/test/Driver/mips-cpus.c
@@ -0,0 +1,9 @@
1
+// Check target CPUs are correctly passed.
2
+
3
+// RUN: %clang --target=mips64 -### -c %s 2>&1 -mcpu=i6400 -mmsa | FileCheck -check-prefix=MCPU-I6400 %s
4
+// MCPU-I6400: "-target-cpu" "i6400"
5
+// MCPU-I6400-SAME: "-target-feature" "+msa"
6
7
+// RUN: %clang --target=mips64 -### -c %s 2>&1 -mcpu=i6500 -mmsa | FileCheck -check-prefix=MCPU-I6500 %s
8
+// MCPU-I6500: "-target-cpu" "i6500"
9
+// MCPU-I6500-SAME: "-target-feature" "+msa"
llvm/test/CodeGen/Mips/msa/i6500.ll
0 commit comments