[llvm] AMDGPU: Fix incorrectly selecting fp8/bf8 conversion intrinsics (PR #107291)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 15 04:26:23 PDT 2024


================
@@ -599,8 +599,8 @@ class Cvt_F32_F8_Pat<SDPatternOperator node, int index,
     (inst_sdwa 0, $src, 0, 0, index)
 >;
 
-let SubtargetPredicate = isGFX9Only in {
-let OtherPredicates = [HasCvtFP8VOP1Bug] in {
+let SubtargetPredicate = HasFP8ConversionInsts in {
----------------
arsenm wrote:

But is the bug really present on gfx12? 

https://github.com/llvm/llvm-project/pull/107291


More information about the llvm-commits mailing list