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