Skip to content

Commit efd1d1f

Browse files
committed
inline nounwind
1 parent dea223b commit efd1d1f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

llvm/test/CodeGen/Generic/half.ll

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
; work better anyway.
5858
; Regression test for https://github.com/llvm/llvm-project/issues/97981.
5959

60-
define half @from_bits(i16 %bits) #0 {
60+
define half @from_bits(i16 %bits) nounwind {
6161
; ALL-LABEL: from_bits:
6262
; CHECK-NOT: __extend
6363
; CHECK-NOT: __trunc
@@ -67,7 +67,7 @@ define half @from_bits(i16 %bits) #0 {
6767
ret half %f
6868
}
6969

70-
define i16 @to_bits(half %f) #0 {
70+
define i16 @to_bits(half %f) nounwind {
7171
; ALL-LABEL: to_bits:
7272
; CHECK-NOT: __extend
7373
; CHECK-NOT: __trunc
@@ -80,10 +80,8 @@ define i16 @to_bits(half %f) #0 {
8080
; Some platforms have had problems freezing. Regression test for
8181
; https://github.com/llvm/llvm-project/issues/117337 and similar issues.
8282

83-
define half @check_freeze(half %f) #0 {
83+
define half @check_freeze(half %f) nounwind {
8484
; ALL-LABEL: check_freeze:
8585
%t0 = freeze half %f
8686
ret half %t0
8787
}
88-
89-
attributes #0 = { nounwind }

0 commit comments

Comments
 (0)