[PATCH] D110937: [AMDGPU][GlobalISel] Select v_fma_mix_f32 and v_mad_mix_f32
Mirko Brkusanin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 14 03:35:32 PDT 2021
mbrkusanin updated this revision to Diff 379650.
mbrkusanin added a comment.
Updated IgnoreCopy matcher to skip through multiple copies.
IR has matchers like m_TruncOrSelf and m_ZExtOrSelf which match one or zero of those nodes. So I guess it's not unprecedented to have a matcher like this.
Maybe rename to m_CopyOrSelf?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110937/new/
https://reviews.llvm.org/D110937
Files:
llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-fma.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-mul.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-ext-mul.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-ext-neg-mul.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/fma-mix.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fma-mix.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmad-mix.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110937.379650.patch
Type: text/x-patch
Size: 73739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211014/e3f911d1/attachment.bin>
More information about the llvm-commits
mailing list