[PATCH] D93305: [AMDGPU][GlobalISel] Add combiner for generating G_FMAD
Mateja Marjanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 15 08:21:37 PST 2020
matejam created this revision.
matejam added reviewers: foad, arsenm, mbrkusanin, Petar.Avramovic.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, nhaehnle, jvesely, kzhuravl.
matejam requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
When the function has "denormal-fp-math-f32" attribute set to "preserve-sign" or "positive-zero" and the instruction selector being used is GlobaISel, a combiner will replace G_FMUL and G_FADD with G_FMAD.
https://reviews.llvm.org/D93305
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/combine-g_fmad.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93305.311901.patch
Type: text/x-patch
Size: 7435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201215/dfc56cb7/attachment.bin>
More information about the llvm-commits
mailing list