[MemProf] Skip unmatched callers when cloning (#120455)
[llvm-project.git] / clang / test / CodeGen / mips16-attr.c
blob4a01c69d08f818af66a8c55f09cfa5b8710a4fd9
1 // RUN: %clang_cc1 -triple mipsel-linux-gnu -emit-llvm -o - %s | FileCheck %s
2 void __attribute__((mips16)) foo (void) {
6 // CHECK: define{{.*}} void @foo() [[MIPS16:#[0-9]+]]
8 void __attribute__((nomips16)) nofoo (void) {
12 // CHECK: define{{.*}} void @nofoo() [[NOMIPS16:#[0-9]+]]
14 // CHECK: attributes [[MIPS16]] = { noinline nounwind {{.*}} "mips16" {{.*}} }
16 // CHECK: attributes [[NOMIPS16]] = { noinline nounwind {{.*}} "nomips16" {{.*}} }