brintos

brintos / llvm-project-archived public Read only

0
0
Text · 333 B · b161bde Raw
15 lines · plain
1target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64-G1"2target triple = "spirv64"3 4define spir_func i32 @addFive(i32 %a) {5entry:6  %res = add nsw i32 %a, 57  ret i32 %res8}9 10define spir_func i32 @unusedFunc(i32 %a) {11entry:12  %res = mul nsw i32 %a, 513  ret i32 %res14}15