https://github.com/jthackray commented:

Another possible addition would be to `clang/test/Driver/arm-v8m.c`:
```
// RUN: %clang -target arm-none-none-eabi -mcpu=star-mc1 %s -### -c 2>&1 | 
FileCheck %s --check-prefix=V8M_MAINLINE_STAR_MC1_DSP
// RUN: %clang -target arm-none-none-eabi -mcpu=star-mc1 -mbig-endian %s -### 
-c 2>&1 | FileCheck %s --check-prefix=EBV8M_MAINLINE_STAR_MC1_DSP
// V8M_MAINLINE_STAR_MC1_DSP: "-cc1"{{.*}} "-triple" "thumbv8m.main-{{.*}} 
"-target-cpu" "star-mc1"
// EBV8M_MAINLINE_STAR_MC1_DSP: "-cc1"{{.*}} "-triple" "thumbebv8m.main-{{.*}} 
"-target-cpu" "star-mc1"
```

https://github.com/llvm/llvm-project/pull/110085
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to