10 lines · c
1// RUN: %clang --target=loongarch32 -S -emit-llvm %s -o - | FileCheck %s --check-prefix=LA322// RUN: %clang --target=loongarch64 -S -emit-llvm %s -o - | FileCheck %s --check-prefix=LA643 4// LA32: "target-features"="+32bit"5// LA64: "target-features"="+64bit,+d,+f,+lsx,+relax,+ual"6 7int foo(void) {8 return 3;9}10