[PATCH] D127527: [AMDGPU] Define SGPR_NULL64 register. NFCI.

Joe Nash via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 13:30:32 PDT 2022


Joe_Nash added a comment.

LGTM, but could there be more opportunities to use this? 
Are there cases where we want to have value 0 in a source operand (a normal VSrc, not VOPDstS64orS32 like is used in https://reviews.llvm.org/D127542), it can't be folded, and we could use sgpr null 64? It might be interesting to have a test case for that with folding excluded.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127527



More information about the llvm-commits mailing list