[PATCH] D37981: AMDGPU: Start selecting s_xnor_{b32, b64}
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 18 10:46:46 PDT 2017
arsenm added inline comments.
================
Comment at: lib/Target/AMDGPU/SOPInstructions.td:396
+def S_XNOR_B32 : SOP2_32 <"s_xnor_b32",
+ [(set i32:$sdst, (xor (xor_oneuse i32:$src0, i32:$src1), (i32 -1)))]
+>;
----------------
Minor clean would be not use the not PatFrag rather than xor -1 yourself
https://reviews.llvm.org/D37981
More information about the llvm-commits
mailing list