[clang-tools-extra] [llvm] [clang] DAG: Implement promotion for strict_fp_round (PR #74332)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 19:41:45 PST 2024


================
@@ -1097,7 +1097,7 @@ def : Pat <
 multiclass f16_fp_Pats<Instruction cvt_f16_f32_inst_e64, Instruction cvt_f32_f16_inst_e64> {
   // f16_to_fp patterns
   def : GCNPat <
-    (f32 (f16_to_fp i32:$src0)),
+    (f32 (any_f16_to_fp i32:$src0)),
----------------
arsenm wrote:

Yes, with appropriate tests added alongside it 

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


More information about the cfe-commits mailing list