[all-commits] [llvm/llvm-project] 7ac3ab: AMDGPU: Fix missing MIR serialization for PSInputA...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Apr 8 04:05:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ac3ab34cb7aa3da1ff1b0c024a8767e089519cd
      https://github.com/llvm/llvm-project/commit/7ac3ab34cb7aa3da1ff1b0c024a8767e089519cd
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-04-08 (Sat, 08 Apr 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
    M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-after-pei.ll
    M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-no-ir.mir
    M llvm/test/CodeGen/MIR/AMDGPU/machine-function-info.ll

  Log Message:
  -----------
  AMDGPU: Fix missing MIR serialization for PSInputAddr/PSInputEnable

Resuming any mir test for a pixel shader would assert in the AsmPrinter.


  Commit: 2a9f1dad2cceb70be372310e46eaf93f32782a43
      https://github.com/llvm/llvm-project/commit/2a9f1dad2cceb70be372310e46eaf93f32782a43
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-04-08 (Sat, 08 Apr 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
    M llvm/test/CodeGen/AMDGPU/lower-control-flow-live-variables-update.mir
    A llvm/test/CodeGen/AMDGPU/lower-control-flow-live-variables-update.xfail.mir

  Log Message:
  -----------
  AMDGPU: Fix LiveVariables verifier error for values defined before SI_END_CF

GlobalISel happens to insert some constant materializes before SI_END_CF
in one test. These need to be excluded from AliveBlocks since they
are defined in the original block and used in the split block,
so they aren't fully alive through either block.

The case where the value defined in the first block which was originally used
in a later block is still broken.

Avoids a verifier error in a future patch.


Compare: https://github.com/llvm/llvm-project/compare/4bd3fda51249...2a9f1dad2cce


More information about the All-commits mailing list