[PATCH] D78716: [AMDGPU] Avoid hard-coded line numbers in error message checks

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 23 08:04:21 PDT 2020


foad created this revision.
foad added reviewers: arsenm, scott.linder.
Herald added subscribers: llvm-commits, kerbowa, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

This makes it easier for us to maintain downstream changes to some of
these tests. NFC.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78716

Files:
  llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-register-parse-error1.mir
  llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-register-parse-error2.mir
  llvm/test/CodeGen/MIR/AMDGPU/mfi-frame-offset-reg-class.mir
  llvm/test/CodeGen/MIR/AMDGPU/mfi-parse-error-frame-offset-reg.mir
  llvm/test/CodeGen/MIR/AMDGPU/mfi-parse-error-scratch-rsrc-reg.mir
  llvm/test/CodeGen/MIR/AMDGPU/mfi-parse-error-stack-ptr-offset-reg.mir
  llvm/test/CodeGen/MIR/AMDGPU/mfi-scratch-rsrc-reg-reg-class.mir
  llvm/test/CodeGen/MIR/AMDGPU/mfi-stack-ptr-offset-reg-class.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78716.259569.patch
Type: text/x-patch
Size: 5325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200423/5000815b/attachment.bin>


More information about the llvm-commits mailing list