xref: /llvm-project/clang/test/CodeGen/function-min-vector-width.c (revision adc402bf3d0565ac2bc7efbdd05f0d846e818041)
1 // This test verifies that we produce min-legal-vector-width attributes
2 
3 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
4 
foo(void)5 void __attribute((__min_vector_width__(128))) foo(void) {}
6 
7 // CHECK: "min-legal-vector-width"="128"
8