1 ; RUN: llvm-as %s -o /dev/null
3 ; Make sure speculatable is accepted on a call site if the declaration
4 ; is also speculatable.
6 declare i32 @speculatable() #0
8 ; Make sure this the attribute is accepted on the call site if the
10 define i32 @call_speculatable() {
11 %ret = call i32 @speculatable() #0
15 define float @call_bitcast_speculatable() {
16 %ret = call float @speculatable() #0
20 attributes #0 = { speculatable }