File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
llvm/test/Transforms/FunctionAttrs Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1- ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --check-attributes
1+ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --check-attributes --check-globals
22; RUN: opt -passes=function-attrs -S < %s | FileCheck %s
33
44define i32 @nonleaf () convergent {
@@ -158,3 +158,14 @@ define i32 @nonleaf_convergent() convergent {
158158
159159
160160declare token @llvm.experimental.convergence.entry () #1
161+ ;.
162+ ; CHECK: attributes #[[ATTR0]] = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) }
163+ ; CHECK: attributes #[[ATTR1]] = { convergent }
164+ ; CHECK: attributes #[[ATTR2]] = { norecurse }
165+ ; CHECK: attributes #[[ATTR3:[0-9]+]] = { convergent nocallback nounwind }
166+ ; CHECK: attributes #[[ATTR4]] = { convergent norecurse nounwind }
167+ ; CHECK: attributes #[[ATTR5]] = { nofree nosync nounwind memory(none) }
168+ ; CHECK: attributes #[[ATTR6]] = { convergent noinline optnone }
169+ ; CHECK: attributes #[[ATTR7]] = { convergent mustprogress nofree norecurse nosync nounwind willreturn memory(none) }
170+ ; CHECK: attributes #[[ATTR8:[0-9]+]] = { convergent nocallback nofree nosync nounwind willreturn memory(none) }
171+ ;.
You can’t perform that action at this time.
0 commit comments