File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ attributes(global) subroutine devsub()
59
59
res = __brev(ai)
60
60
resl = __brev(al)
61
61
res = __clz(ai)
62
- res = __clz(al)
62
+ res = __clz(al)
63
+ af = __cosf(af)
63
64
ai = __mul24(ai, ai)
64
65
ai = __umul24(ai, ai)
65
66
end
@@ -110,11 +111,10 @@ end
110
111
! CHECK: %{{.*}} = fir.call @__nv_brevll(%{{.*}}) proc_attrs<bind_c> fastmath<contract> : (i64) -> i64
111
112
! CHECK: %{{.*}} = fir.call @__nv_clz(%{{.*}}) proc_attrs<bind_c> fastmath<contract> : (i32) -> i32
112
113
! CHECK: %{{.*}} = fir.call @__nv_clzll(%{{.*}}) proc_attrs<bind_c> fastmath<contract> : (i64) -> i32
113
-
114
+ ! CHECK: %{{.*}} = fir.call @__nv_cosf(%{{.*}}) proc_attrs<bind_c> fastmath<contract> : (f32) -> f32
114
115
! CHECK: %{{.*}} = fir.call @__nv_mul24(%{{.*}}, %{{.*}}) proc_attrs<bind_c> fastmath<contract> : (i32, i32) -> i32
115
116
! CHECK: %{{.*}} = fir.call @__nv_umul24(%{{.*}}, %{{.*}}) proc_attrs<bind_c> fastmath<contract> : (i32, i32) -> i32
116
117
117
-
118
118
subroutine host1()
119
119
integer, device :: a(32)
120
120
integer, device :: ret
You can’t perform that action at this time.
0 commit comments