[PATCH] D54494: AMDGPU : Additional pattern for median3 matching

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 13 14:44:54 PST 2018


arsenm accepted this revision.
arsenm added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/Target/AMDGPU/SIInstructions.td:1667-1668
 
+  //This matches 16 permutations of
+  //min(max(a, b), max(min(a, b), c))
+  def : GCNPat <
----------------
Spaces before //


https://reviews.llvm.org/D54494





More information about the llvm-commits mailing list