[llvm] [AMDGPU] Add custom lowering of llvm.convert.from.arbitrary.fp for FP8 (PR #194144)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 6 05:21:30 PDT 2026
================
@@ -765,14 +780,15 @@ def V_CVT_F16_F8_True16_Profile : VOP3_Profile_True16<V_CVT_F16_F8_Profile>;
def V_CVT_F16_F8_Fake16_Profile : VOP3_Profile_Fake16<V_CVT_F16_F8_Profile>;
}
-let SubtargetPredicate = isGFX11Plus, OtherPredicates = [HasFP8ConversionInsts],
+let SubtargetPredicate = isGFX11Plus,
+ OtherPredicates = [HasFP8ConversionInsts, HasOCPFP8ConversionInsts],
----------------
arsenm wrote:
This is a mess. We have the worst of both worlds where we have target specific pseudos and also the encoded machine pseudos. All of these cases should be reduced to a single SubtargetPredicate for has instruction + encoding detail, without using OtherPredicates
https://github.com/llvm/llvm-project/pull/194144
More information about the llvm-commits
mailing list