[PATCH] D101367: [AMDGPU] Serialize MFInfo::ScavengeFI

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 6 08:17:32 PDT 2021


sebastian-ne updated this revision to Diff 343413.
sebastian-ne marked 2 inline comments as done.
sebastian-ne added a comment.

Return error instead of failing assert for non-existing frame index.

I’m not quite sure how to create the SMDiagnostic. The resulting error message looks fine, so I hope this is ok.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101367

Files:
  llvm/include/llvm/CodeGen/MIRYamlMapping.h
  llvm/lib/CodeGen/CMakeLists.txt
  llvm/lib/CodeGen/MIRYamlMapping.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
  llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
  llvm/test/CodeGen/MIR/AMDGPU/invalid-frame-index-invalid-fixed-stack.mir
  llvm/test/CodeGen/MIR/AMDGPU/invalid-frame-index-invalid-stack.mir
  llvm/test/CodeGen/MIR/AMDGPU/invalid-frame-index-no-stack.mir
  llvm/test/CodeGen/MIR/AMDGPU/invalid-frame-index.mir
  llvm/test/CodeGen/MIR/AMDGPU/invalid-frame-index2.mir
  llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
  llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101367.343413.patch
Type: text/x-patch
Size: 15956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210506/60c1f607/attachment.bin>


More information about the llvm-commits mailing list