Skip to content

Commit 8f2d850

Browse files
committed
Add test case to test MSA feature for i6400 and i6500 MIPS cpus
Also remove codegen test i6500.ll
1 parent 4ed92eb commit 8f2d850

File tree

2 files changed

+9
-88
lines changed

2 files changed

+9
-88
lines changed

clang/test/Driver/mips-cpus.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)