[PATCH] D109082: [AMDGPU] Use S_BITCMP1_* to replace AND in optimizeCompareInstr

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 1 15:27:38 PDT 2021


rampitec added a comment.

In D109082#2978137 <https://reviews.llvm.org/D109082#2978137>, @arsenm wrote:

> LGTM although this looks identical in terms of code size and cycles

Yes, but is saves one SGPR used for AND.


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

https://reviews.llvm.org/D109082



More information about the llvm-commits mailing list