We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b5a303 commit a618b49Copy full SHA for a618b49
llvm/lib/Target/Mips/MipsISelLowering.h
@@ -365,6 +365,8 @@ class TargetRegisterClass;
365
return ABI.IsN64() ? Mips::A1_64 : Mips::A1;
366
}
367
368
+ bool softPromoteHalfType() const override { return true; }
369
+
370
bool isJumpTableRelative() const override {
371
return getTargetMachine().isPositionIndependent();
372
llvm/test/CodeGen/Mips/fp16-promote.ll
@@ -62,8 +62,8 @@ define <4 x float> @test_vec_fpext_float(ptr %p) #0 {
62
; CHECK-LIBCALL-LABEL: test_vec_fpext_double:
63
; CHECK-LIBCALL: %call16(__gnu_h2f_ieee)
64
65
-; CHECK-LIBCALL: %call16(__gnu_h2f_ieee)
66
; CHECK-LIBCALL: cvt.d.s
+; CHECK-LIBCALL: %call16(__gnu_h2f_ieee)
67
68
69
0 commit comments