File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ enum class TMAReductionOp : uint8_t {
3838 XOR = 7 ,
3939};
4040
41- bool IntrinsicShouldFTZ (Intrinsic::ID IntrinsicID) {
41+ inline bool IntrinsicShouldFTZ (Intrinsic::ID IntrinsicID) {
4242 switch (IntrinsicID) {
4343 // Float to i32 / i64 conversion intrinsics:
4444 case Intrinsic::nvvm_f2i_rm_ftz:
@@ -65,7 +65,7 @@ bool IntrinsicShouldFTZ(Intrinsic::ID IntrinsicID) {
6565 return false ;
6666}
6767
68- bool IntrinsicConvertsToSignedInteger (Intrinsic::ID IntrinsicID) {
68+ inline bool IntrinsicConvertsToSignedInteger (Intrinsic::ID IntrinsicID) {
6969 switch (IntrinsicID) {
7070 // f2i
7171 case Intrinsic::nvvm_f2i_rm:
@@ -100,7 +100,8 @@ bool IntrinsicConvertsToSignedInteger(Intrinsic::ID IntrinsicID) {
100100 return false ;
101101}
102102
103- APFloat::roundingMode IntrinsicGetRoundingMode (Intrinsic::ID IntrinsicID) {
103+ inline APFloat::roundingMode
104+ IntrinsicGetRoundingMode (Intrinsic::ID IntrinsicID) {
104105 switch (IntrinsicID) {
105106 // RM:
106107 case Intrinsic::nvvm_f2i_rm:
You can’t perform that action at this time.
0 commit comments