[AMDGPU][GlobalISel] Transform (fadd (fpext (fmul x, y)), z) -> (fma (fpext x), ...
authorMirko Brkusanin <Mirko.Brkusanin@amd.com>
Fri, 26 Nov 2021 16:01:32 +0000 (17:01 +0100)
committerMirko Brkusanin <Mirko.Brkusanin@amd.com>
Mon, 29 Nov 2021 15:27:21 +0000 (16:27 +0100)
commit89511362165332695bf0e26767662b47f8e11f98
tree8e9b0df84abad8d8854bd57d67faf4c9aa31e714
parent881840fc268e6523b71b40e717c647ed45682816
[AMDGPU][GlobalISel] Transform (fadd (fpext (fmul x, y)), z) -> (fma (fpext x), (fpext y), z)

Patch by: Mateja Marjanovic

Differential Revision: https://reviews.llvm.org/D97937
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.h
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-mul.ll [new file with mode: 0644]