[PATCH] D115884: [AMDGPU] Expand not pattern according to the XOR node divergence
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 16 09:23:20 PST 2021
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstructions.td:2120
+def : GCNPat <
+ (i32 (UniformBinFrag<xor> i32:$src0, (i32 -1))),
+ (S_NOT_B32 $src0)
----------------
There are already patterns on the definitions of S_NOT_* in SOPInstructions.td. Can you update those, instead of adding new standalone patterns?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115884/new/
https://reviews.llvm.org/D115884
More information about the llvm-commits
mailing list