Added the patterns for median3 matching.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Also change the message before committing to be more descriptive. It sounds like something is broken as is
Paths
| Differential D54331
AMDGPU : median3 matching incomplete or not working ClosedPublic Authored by aakanksha555 on Nov 9 2018, 9:49 AM.
Details Summary Added the patterns for median3 matching.
Diff Detail Event Timelineaakanksha555 marked 2 inline comments as done. Comment ActionsAdded 16 test cases with the permutations of min(max(a, b), max(min(a, b), c)) This revision is now accepted and ready to land.Nov 12 2018, 8:15 AM Comment Actions Also change the message before committing to be more descriptive. It sounds like something is broken as is Closed by commit rL346704: AMDGPU: Adding more median3 patterns (authored by aakanksha555). · Explain WhyNov 12 2018, 1:06 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 173415 lib/Target/AMDGPU/AMDGPUInstructions.td
lib/Target/AMDGPU/SIInstructions.td
test/CodeGen/AMDGPU/smed3.ll
test/CodeGen/AMDGPU/umed3.ll
|
Extra whitespace change