I do not exactly like the use of a negative predicate to
enable instructions' support. Change HasNoMadMacF32Insts
with HasFmaLegacy32.
Details
Details
- Reviewers
foad kzhuravl - Commits
- rG78ae1f6c9002: [AMDGPU] Change predicate for fma/fmac legacy
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I don't think this should move towards less fine grained predicates. You could rename to HasFmacLegacy
Comment Actions
Sorry to bikeshed, but I think HasFmaLegacyF32 would be a better name. This has nothing to do with the v_fma_legacy_f16 instruction, which has a completely kind of "legacy" behaviour. OK with that change.