brintos

brintos / llvm-project-archived public Read only

0
0
Text · 874 B · 4f82ef8 Raw
38 lines · plain
1; RUN: llc -mtriple=hexagon < %s | FileCheck %s2; CHECK: {{.balign 4|.p2align 2}}3; CHECK: {{.balign 4|.p2align 2}}4; CHECK: {{.balign 4|.p2align 2}}5 6target triple = "hexagon"7 8@g0 = global i32 4, align 49@g1 = global i32 4, align 410@g2 = global i32 4, align 411@g3 = global i32 4, align 412 13; Function Attrs: nounwind optsize14define void @f0(i32 %a0) #0 {15b0:16  store i32 1, ptr @g0, align 417  ret void18}19 20; Function Attrs: nounwind optsize21define void @f1(i32 %a0) #0 {22b0:23  store i32 1, ptr @g0, align 424  store i32 2, ptr @g1, align 425  store i32 3, ptr @g2, align 426  store i32 4, ptr @g3, align 427  ret void28}29 30; Function Attrs: nounwind optsize readnone31define i32 @f2(i32 %a0, ptr nocapture readnone %a1) #1 {32b0:33  ret i32 %a034}35 36attributes #0 = { nounwind optsize "target-cpu"="hexagonv60" }37attributes #1 = { nounwind optsize readnone "target-cpu"="hexagonv60" }38