[PATCH] D120202: [AMDGPU] Extend pre-emit peephole to redundantly masked VCC

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 22 02:55:05 PST 2022


foad added a comment.

> Extend pre-emit peephole for S_CBRANCH_VCC[N]Z to eliminate
> redundant S_AND operations against EXEC for V_CMP results in VCC.

No particular objection to this patch, but it would be nice to do this more generally for comparison results that are not in vcc too.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120202



More information about the llvm-commits mailing list