bolt/deps/llvm-18.1.8/clang/test/Driver/riscv-default-features.c
2025-02-14 19:21:04 +01:00

10 lines
354 B
C

// RUN: %clang --target=riscv32-unknown-elf -S -emit-llvm %s -o - | FileCheck %s -check-prefix=RV32
// RUN: %clang --target=riscv64-unknown-elf -S -emit-llvm %s -o - | FileCheck %s -check-prefix=RV64
// RV32: "target-features"="+32bit,+a,+c,+m,+relax,
// RV64: "target-features"="+64bit,+a,+c,+m,+relax,
// Dummy function
int foo(void){
return 3;
}