[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / micromips-attr.c
blob1f364f392480d5f30dbdb1b19aae58c19839871f
1 // RUN: %clang_cc1 -triple mips-linux-gnu -emit-llvm -o - %s | FileCheck %s
3 void __attribute__((micromips)) foo (void) {}
5 // CHECK: define{{.*}} void @foo() [[MICROMIPS:#[0-9]+]]
7 void __attribute__((nomicromips)) nofoo (void) {}
9 // CHECK: define{{.*}} void @nofoo() [[NOMICROMIPS:#[0-9]+]]
11 // CHECK: attributes [[MICROMIPS]] = { noinline nounwind {{.*}} "micromips" {{.*}} }
12 // CHECK: attributes [[NOMICROMIPS]] = { noinline nounwind {{.*}} "nomicromips" {{.*}} }