@@ -702,10 +702,10 @@ define <2 x float> @ret_ldexp_v2f32_known_pos_exp_noinf(<2 x float> nofpclass(in
702
702
}
703
703
704
704
define <2 x float > @ret_ldexp_v2f32_known_neg_exp_noinf (<2 x float > nofpclass(inf) %arg0 , <2 x i32 > %arg1 ) #0 {
705
- ; CHECK-LABEL: define nofpclass(inf) <2 x float> @ret_ldexp_v2f32_known_neg_exp_noinf
705
+ ; CHECK-LABEL: define <2 x float> @ret_ldexp_v2f32_known_neg_exp_noinf
706
706
; CHECK-SAME: (<2 x float> nofpclass(inf) [[ARG0:%.*]], <2 x i32> [[ARG1:%.*]]) #[[ATTR1]] {
707
707
; CHECK-NEXT: [[OR_ARG1:%.*]] = or <2 x i32> [[ARG1]], <i32 -16, i32 -32>
708
- ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(inf) <2 x float> @llvm.ldexp.v2f32.v2i32(<2 x float> [[ARG0]], <2 x i32> [[OR_ARG1]]) #[[ATTR10]]
708
+ ; CHECK-NEXT: [[CALL:%.*]] = call <2 x float> @llvm.ldexp.v2f32.v2i32(<2 x float> [[ARG0]], <2 x i32> [[OR_ARG1]]) #[[ATTR10]]
709
709
; CHECK-NEXT: ret <2 x float> [[CALL]]
710
710
;
711
711
%or.arg1 = or <2 x i32 > %arg1 , <i32 -16 , i32 -32 >
@@ -844,19 +844,19 @@ define float @ret_ldexp_f32_22(float %arg0) #0 {
844
844
}
845
845
846
846
define float @ret_ldexp_f32_23 (float %arg0 ) #0 {
847
- ; CHECK-LABEL: define float @ret_ldexp_f32_23
847
+ ; CHECK-LABEL: define nofpclass(sub) float @ret_ldexp_f32_23
848
848
; CHECK-SAME: (float [[ARG0:%.*]]) #[[ATTR1]] {
849
- ; CHECK-NEXT: [[CALL:%.*]] = call float @llvm.ldexp.f32.i32(float [[ARG0]], i32 noundef 23) #[[ATTR10]]
849
+ ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(sub) float @llvm.ldexp.f32.i32(float [[ARG0]], i32 noundef 23) #[[ATTR10]]
850
850
; CHECK-NEXT: ret float [[CALL]]
851
851
;
852
852
%call = call float @llvm.ldexp.f32.i32 (float %arg0 , i32 23 )
853
853
ret float %call
854
854
}
855
855
856
856
define float @ret_ldexp_f32_24 (float %arg0 ) #0 {
857
- ; CHECK-LABEL: define float @ret_ldexp_f32_24
857
+ ; CHECK-LABEL: define nofpclass(sub) float @ret_ldexp_f32_24
858
858
; CHECK-SAME: (float [[ARG0:%.*]]) #[[ATTR1]] {
859
- ; CHECK-NEXT: [[CALL:%.*]] = call float @llvm.ldexp.f32.i32(float [[ARG0]], i32 noundef 24) #[[ATTR10]]
859
+ ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(sub) float @llvm.ldexp.f32.i32(float [[ARG0]], i32 noundef 24) #[[ATTR10]]
860
860
; CHECK-NEXT: ret float [[CALL]]
861
861
;
862
862
%call = call float @llvm.ldexp.f32.i32 (float %arg0 , i32 24 )
@@ -876,9 +876,9 @@ define float @ret_ldexp_f32_min24(float %arg0, i32 %arg1) #0 {
876
876
}
877
877
878
878
define float @ret_ldexp_f32_23_nnan (float nofpclass(nan) %arg0 ) #0 {
879
- ; CHECK-LABEL: define nofpclass(nan) float @ret_ldexp_f32_23_nnan
879
+ ; CHECK-LABEL: define nofpclass(nan sub ) float @ret_ldexp_f32_23_nnan
880
880
; CHECK-SAME: (float nofpclass(nan) [[ARG0:%.*]]) #[[ATTR1]] {
881
- ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(nan) float @llvm.ldexp.f32.i32(float [[ARG0]], i32 noundef 23) #[[ATTR10]]
881
+ ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(nan sub ) float @llvm.ldexp.f32.i32(float [[ARG0]], i32 noundef 23) #[[ATTR10]]
882
882
; CHECK-NEXT: ret float [[CALL]]
883
883
;
884
884
%call = call float @llvm.ldexp.f32.i32 (float %arg0 , i32 23 )
@@ -906,19 +906,19 @@ define double @ret_ldexp_f64_51(double %arg0) #0 {
906
906
}
907
907
908
908
define double @ret_ldexp_f64_52 (double %arg0 ) #0 {
909
- ; CHECK-LABEL: define double @ret_ldexp_f64_52
909
+ ; CHECK-LABEL: define nofpclass(sub) double @ret_ldexp_f64_52
910
910
; CHECK-SAME: (double [[ARG0:%.*]]) #[[ATTR1]] {
911
- ; CHECK-NEXT: [[CALL:%.*]] = call double @llvm.ldexp.f64.i32(double [[ARG0]], i32 noundef 52) #[[ATTR10]]
911
+ ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(sub) double @llvm.ldexp.f64.i32(double [[ARG0]], i32 noundef 52) #[[ATTR10]]
912
912
; CHECK-NEXT: ret double [[CALL]]
913
913
;
914
914
%call = call double @llvm.ldexp.f64.i32 (double %arg0 , i32 52 )
915
915
ret double %call
916
916
}
917
917
918
918
define double @ret_ldexp_f64_53 (double %arg0 ) #0 {
919
- ; CHECK-LABEL: define double @ret_ldexp_f64_53
919
+ ; CHECK-LABEL: define nofpclass(sub) double @ret_ldexp_f64_53
920
920
; CHECK-SAME: (double [[ARG0:%.*]]) #[[ATTR1]] {
921
- ; CHECK-NEXT: [[CALL:%.*]] = call double @llvm.ldexp.f64.i32(double [[ARG0]], i32 noundef 53) #[[ATTR10]]
921
+ ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(sub) double @llvm.ldexp.f64.i32(double [[ARG0]], i32 noundef 53) #[[ATTR10]]
922
922
; CHECK-NEXT: ret double [[CALL]]
923
923
;
924
924
%call = call double @llvm.ldexp.f64.i32 (double %arg0 , i32 53 )
@@ -946,9 +946,9 @@ define half @ret_ldexp_f16_9(half %arg0) #0 {
946
946
}
947
947
948
948
define half @ret_ldexp_f16_10 (half %arg0 ) #0 {
949
- ; CHECK-LABEL: define half @ret_ldexp_f16_10
949
+ ; CHECK-LABEL: define nofpclass(sub) half @ret_ldexp_f16_10
950
950
; CHECK-SAME: (half [[ARG0:%.*]]) #[[ATTR1]] {
951
- ; CHECK-NEXT: [[CALL:%.*]] = call half @llvm.ldexp.f16.i32(half [[ARG0]], i32 noundef 10) #[[ATTR10]]
951
+ ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(sub) half @llvm.ldexp.f16.i32(half [[ARG0]], i32 noundef 10) #[[ATTR10]]
952
952
; CHECK-NEXT: ret half [[CALL]]
953
953
;
954
954
%call = call half @llvm.ldexp.f16.i32 (half %arg0 , i32 10 )
@@ -966,19 +966,19 @@ define bfloat @ret_ldexp_bf16_6(bfloat %arg0) #0 {
966
966
}
967
967
968
968
define bfloat @ret_ldexp_bf16_7 (bfloat %arg0 ) #0 {
969
- ; CHECK-LABEL: define bfloat @ret_ldexp_bf16_7
969
+ ; CHECK-LABEL: define nofpclass(sub) bfloat @ret_ldexp_bf16_7
970
970
; CHECK-SAME: (bfloat [[ARG0:%.*]]) #[[ATTR1]] {
971
- ; CHECK-NEXT: [[CALL:%.*]] = call bfloat @llvm.ldexp.bf16.i32(bfloat [[ARG0]], i32 noundef 7) #[[ATTR10]]
971
+ ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(sub) bfloat @llvm.ldexp.bf16.i32(bfloat [[ARG0]], i32 noundef 7) #[[ATTR10]]
972
972
; CHECK-NEXT: ret bfloat [[CALL]]
973
973
;
974
974
%call = call bfloat @llvm.ldexp.bf16.i32 (bfloat %arg0 , i32 7 )
975
975
ret bfloat %call
976
976
}
977
977
978
978
define bfloat @ret_ldexp_bf16_8 (bfloat %arg0 ) #0 {
979
- ; CHECK-LABEL: define bfloat @ret_ldexp_bf16_8
979
+ ; CHECK-LABEL: define nofpclass(sub) bfloat @ret_ldexp_bf16_8
980
980
; CHECK-SAME: (bfloat [[ARG0:%.*]]) #[[ATTR1]] {
981
- ; CHECK-NEXT: [[CALL:%.*]] = call bfloat @llvm.ldexp.bf16.i32(bfloat [[ARG0]], i32 noundef 8) #[[ATTR10]]
981
+ ; CHECK-NEXT: [[CALL:%.*]] = call nofpclass(sub) bfloat @llvm.ldexp.bf16.i32(bfloat [[ARG0]], i32 noundef 8) #[[ATTR10]]
982
982
; CHECK-NEXT: ret bfloat [[CALL]]
983
983
;
984
984
%call = call bfloat @llvm.ldexp.bf16.i32 (bfloat %arg0 , i32 8 )
0 commit comments