[PATCH] D104306: [AMDGPU] Use defvar in SOPInstructions.td. NFC.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 15 09:23:43 PDT 2021


foad created this revision.
foad added reviewers: arsenm, rampitec, Joe_Nash.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
foad requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Factor out repeated !cast<SOP*_Pseudo>(NAME) into a new "defvar ps",
just to improve readability and maintainability.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104306

Files:
  llvm/lib/Target/AMDGPU/SOPInstructions.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104306.352161.patch
Type: text/x-patch
Size: 8084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210615/4474a2dd/attachment.bin>


More information about the llvm-commits mailing list