[AMDGPU] Change predicate for fma/fmac legacy
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 27 Oct 2020 17:00:53 +0000 (10:00 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 27 Oct 2020 19:03:52 +0000 (12:03 -0700)
commit78ae1f6c90029c7b213ac6fc01e460f5edb327c9
tree9850791750fddd607fc6a74bdc49056c6d7fcb16
parent2e1a737f46460ddc15733f78acb42e27bc18a5ee
[AMDGPU] Change predicate for fma/fmac legacy

I do not exactly like the use of a negative predicate to
enable instructions' support. Change HasNoMadMacF32Insts
with HasFmaLegacy32.

Differential Revision: https://reviews.llvm.org/D90250
llvm/lib/Target/AMDGPU/AMDGPU.td
llvm/lib/Target/AMDGPU/SIInstructions.td
llvm/lib/Target/AMDGPU/VOP2Instructions.td
llvm/lib/Target/AMDGPU/VOP3Instructions.td