summaryrefslogtreecommitdiff
path: root/test/CodeGen/function-min-vector-width.c
blob: fb22a4fce6d9ffa6a7279706a67691e03f1ff174 (plain)
1
2
3
4
5
6
7
// This test verifies that we produce min-legal-vector-width attributes

// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s

void __attribute((__min_vector_width__(128))) foo() {}

// CHECK: "min-legal-vector-width"="128"