================ @@ -475,6 +476,7 @@ def int_amdgcn_fmul_legacy : ClangBuiltin<"__builtin_amdgcn_fmul_legacy">, // intended for use on subtargets that have the v_fma_legacy_f32 and/or // v_fmac_legacy_f32 instructions. (Note that v_fma_legacy_f16 is unrelated and // has a completely different kind of legacy behaviour.) +let TargetFeatures = "gfx10-3-insts" in ---------------- rovka wrote:
This doesn't look great - it used to be guarded by `ST.hasFmaLegacy32Insts`. Can we make that a proper subtarget feature and check that instead of the generation? Ditto below where you're checking GFX11 etc. https://github.com/llvm/llvm-project/pull/203956 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
