brintos

brintos / llvm-project-archived public Read only

0
0
Text · 546 B · 48ee31a Raw
16 lines · plain
1;; Generate build attributes from llc.2 3; RUN: llc -mtriple=hexagon-unknown-elf \4; RUN:  -mattr=+hvxv73,+cabac,+v71,+hvx-ieee-fp,+hvx-length128b %s -o - | FileCheck  %s5 6;      CHECK: .attribute      4, 71  // Tag_arch7; CHECK-NEXT: .attribute      5, 73  // Tag_hvx_arch8; CHECK-NEXT: .attribute      6, 1   // Tag_hvx_ieeefp9; CHECK-NEXT: .attribute      7, 1   // Tag_hvx_qfloat10; CHECK-NEXT: .attribute      8, 1   // Tag_zreg11; CHECK-NEXT: .attribute      10, 1   // Tag_cabac12 13define i32 @addi(i32 %a) {14  %1 = add i32 %a, 115  ret i32 %116}