[LLVM][IR] Use splat syntax when printing ConstantExpr based splats. (#116856)
[llvm-project.git] / clang / test / CodeGen / attr-msp430.c
blobcbc7599b96bfc068cb771ac486b100be9021a835
1 // RUN: %clang_cc1 -triple msp430-unknown-unknown -emit-llvm < %s| FileCheck %s
3 __attribute__((interrupt(1))) void foo(void) {}
4 // CHECK: @llvm.compiler.used =
5 // CHECK-SAME: @foo
7 // CHECK: define{{.*}} msp430_intrcc void @foo() #0
8 // CHECK: attributes #0
9 // CHECK-SAME: noinline
10 // CHECK-SAME: "interrupt"="1"