Debian Codegraph @

clang/test/Driver/loongarch-features.c

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