[PATCH] D90245: [AMDGPU] Refactor and extend elf-header-flags-mach tests

Scott Linder via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 27 09:29:19 PDT 2020


scott.linder created this revision.
Herald added subscribers: llvm-commits, kerbowa, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: LLVM.
scott.linder requested review of this revision.
Herald added a subscriber: wdng.

- Factor out common elements of the input YAML document and use sed to macro replace the run line specific elements.
- Add checks for the common elements which depend on the ELF class.

Change-Id: I098b2c5bbc21d87fc588f916519ff942bfc00110


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90245

Files:
  llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
  llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90245.301033.patch
Type: text/x-patch
Size: 41052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201027/ebe0f659/attachment.bin>


More information about the llvm-commits mailing list