[PATCH] D54494: AMDGPU : Additional pattern for median3 matching
Aakanksha Patil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 13 13:33:10 PST 2018
aakanksha555 created this revision.
aakanksha555 added reviewers: arsenm, b-sumner.
Found a missing pattern for v_med3_i16 matching
min(max(a, b), max(min(a, b), c))
Added tests to support this pattern
https://reviews.llvm.org/D54494
Files:
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/smed3.ll
test/CodeGen/AMDGPU/umed3.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54494.173931.patch
Type: text/x-patch
Size: 4284 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181113/809e1413/attachment.bin>
More information about the llvm-commits
mailing list