1 ;; Generate build attributes from llc.
3 ; RUN: llc -mtriple=hexagon-unknown-elf \
4 ; RUN: -mattr=+hvxv73,+cabac,+v71,+hvx-ieee-fp,+hvx-length128b %s -o - | FileCheck %s
6 ; CHECK: .attribute 4, 71 // Tag_arch
7 ; CHECK-NEXT: .attribute 5, 73 // Tag_hvx_arch
8 ; CHECK-NEXT: .attribute 6, 1 // Tag_hvx_ieeefp
9 ; CHECK-NEXT: .attribute 7, 1 // Tag_hvx_qfloat
10 ; CHECK-NEXT: .attribute 8, 1 // Tag_zreg
11 ; CHECK-NEXT: .attribute 10, 1 // Tag_cabac
13 define i32 @addi(i32 %a) {