[PATCH] D112827: [AMDGPU][GlobalISel] Fold G_FNEG above when users cannot fold mods
Mirko Brkusanin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 12 08:23:02 PST 2021
mbrkusanin updated this revision to Diff 386857.
mbrkusanin added a comment.
- AMDGPUCombinerHelper now inherits CombinerHelper class.
- Now using AMDGPUCombinerHelper as one of helpers in prelegalizer and postlegalzer combiner passes instead of both AMDGPUCombinerHelper and CombinerHelper (does not affect tablegen generated code that much)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112827/new/
https://reviews.llvm.org/D112827
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/lib/Target/AMDGPU/AMDGPUCombine.td
llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.h
llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
llvm/lib/Target/AMDGPU/CMakeLists.txt
llvm/test/CodeGen/AMDGPU/GlobalISel/combine-foldable-fneg.mir
llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112827.386857.patch
Type: text/x-patch
Size: 48762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211112/928d9fad/attachment.bin>
More information about the llvm-commits
mailing list