brintos

brintos / llvm-project-archived public Read only

0
0
Text · 475 B · 1dd34a5 Raw
21 lines · plain
1; RUN: llvm-as %s -o /dev/null2 3; Make sure speculatable is accepted on a call site if the declaration4; is also speculatable.5 6declare i32 @speculatable() #07 8; Make sure this the attribute is accepted on the call site if the9; declaration matches.10define i32 @call_speculatable() {11  %ret = call i32 @speculatable() #012  ret i32 %ret13}14 15define float @call_bitcast_speculatable() {16  %ret = call float @speculatable() #017  ret float %ret18}19 20attributes #0 = { speculatable }21