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

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 4 19:35:37 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)),
----------------
phoebewang wrote:

Should we replace more `f16_to_fp` to `any_f16_to_fp` in this file and other target files?

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


More information about the cfe-commits mailing list