Debian Codegraph @

clang/test/Driver/riscv-default-features.c

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