[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:31 PDT 2026
================
@@ -716,6 +716,11 @@ foreach Index = [1, 2, 3] in {
}
} // End OtherPredicates = [HasSDWA]
+let OtherPredicates = [HasOCPFP8ConversionInsts, isGFX9Only] in {
+ def : GCNPat<(f32 (cvt_from_fp8 i32:$src)), (V_CVT_F32_FP8_e32 $src)>;
----------------
arsenm wrote:
Do these support source modifiers? We could try to match them (but best for follow up)
https://github.com/llvm/llvm-project/pull/194144
More information about the llvm-commits
mailing list