Found a missing pattern for v_med3_i16 matching
min(max(a, b), max(min(a, b), c))
Added tests to support this pattern
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D54494
AMDGPU : Additional pattern for median3 matching ClosedPublic Authored by aakanksha555 on Nov 13 2018, 1:33 PM.
Details Summary Found a missing pattern for v_med3_i16 matching
Diff Detail Event TimelineThis revision is now accepted and ready to land.Nov 13 2018, 2:44 PM Closed by commit rL346886: AMDGPU: Additional pattern for i16 median3 matching (authored by aakanksha555). · Explain WhyNov 14 2018, 12:13 PM This revision was automatically updated to reflect the committed changes. aakanksha555 marked an inline comment as done.
Revision Contents
Diff 173931 lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/smed3.ll
test/CodeGen/AMDGPU/umed3.ll
|
Spaces before //