[PATCH] D134418: [AMDGPU] Improve ISel for v_bfi instructions.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 00:26:18 PDT 2022


foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/SIInstructions.td:1909
+// ((a ^ y) & C0) ^ ((y & C1) | (z & ~C1)) <=>
+// (a & C0) | (~C0 & ((y & C1) | (z & ~C1)))
+def : AMDGPUPat <
----------------
Still not true. Counterexample: a=y=C1=0, z=C0=1.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134418/new/

https://reviews.llvm.org/D134418



More information about the llvm-commits mailing list