[PATCH] D17614: AMDGPU/SI: Implement DS_PERMUTE/DS_BPERMUTE Instruction Definitions and Intrinsics.

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 27 00:36:25 PST 2016


arsenm added inline comments.

================
Comment at: lib/Target/AMDGPU/VIInstructions.td:136-139
@@ +135,6 @@
+
+def : Pat <
+  (int_amdgcn_ds_permute i32:$addr, i32:$data0),
+  (DS_PERMUTE_B32 $addr, $data0)
+>;
+
----------------
Why can't these be patterns on the instruction definition instead of standalone Pats?


http://reviews.llvm.org/D17614





More information about the llvm-commits mailing list