[PATCH] D98050: [AMDGPU][GlobalISel] Transform (fsub (fpext (fneg (fmul x, y))), z) -> (fneg (fma (fpext x), (fpext y), z))
Mateja Marjanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 20 10:24:21 PDT 2021
matejam updated this revision to Diff 346782.
matejam added a comment.
Use mi_match for comparing instructions instead of comparing the opcodes.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98050/new/
https://reviews.llvm.org/D98050
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-mul.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98050.346782.patch
Type: text/x-patch
Size: 16355 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210520/e47208b0/attachment.bin>
More information about the llvm-commits
mailing list