[llvm] [AMDGPU][True16][CodeGen] true16 codegen pattern for v_mul_f16 (PR #122000)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 8 08:01:37 PST 2025


================
@@ -3079,7 +3079,19 @@ def : GCNPat<
 >;
 } // End OtherPredicates
 
-let OtherPredicates = [HasTrue16BitInsts] in {
+let True16Predicate = UseRealTrue16Insts in {
+def : GCNPat<
+  (fcanonicalize (f16 (VOP3Mods f16:$src, i32:$src_mods))),
----------------
arsenm wrote:

Title is misleading and the test is mismatched. This is an canonicalize pattern, not fmul 

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


More information about the llvm-commits mailing list