[PATCH] D90050: AMDGPU/GlobalISel: Add integer med3 combines
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 18 12:03:19 PST 2020
Petar.Avramovic updated this revision to Diff 306179.
Petar.Avramovic edited the summary of this revision.
Petar.Avramovic added a comment.
Use MIPatternMatch to match source pattern. Use Optional instead of return 0. Separate from fp med3 function to avoid bitcasted G_FCONSTANT and explicitly match G_CONSTANT.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90050/new/
https://reviews.llvm.org/D90050
Files:
llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
llvm/include/llvm/CodeGen/GlobalISel/Utils.h
llvm/lib/CodeGen/GlobalISel/Utils.cpp
llvm/lib/Target/AMDGPU/AMDGPUCombine.td
llvm/lib/Target/AMDGPU/AMDGPUGISel.td
llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
llvm/lib/Target/AMDGPU/SIInstructions.td
llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-smed3.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizercombiner-umed3.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/smed3.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/umed3.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90050.306179.patch
Type: text/x-patch
Size: 39127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201118/ca002979/attachment.bin>
More information about the llvm-commits
mailing list