[PATCH] D93708: [AMDGPU] Add a new Clamp Pattern to the GlobalISel Path.

Thomas Symalla via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 11 06:13:28 PST 2021


tsymalla updated this revision to Diff 315783.
tsymalla marked an inline comment as done.
tsymalla added a comment.

This moves the implementation to the PreLegalizer and is based on LLVM max/min intrinsics.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93708/new/

https://reviews.llvm.org/D93708

Files:
  llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
  llvm/lib/Target/AMDGPU/AMDGPUCombine.td
  llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
  llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-short-clamp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93708.315783.patch
Type: text/x-patch
Size: 19191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210111/655e22cc/attachment.bin>


More information about the llvm-commits mailing list