[all-commits] [llvm/llvm-project] dbda30: [AMDGPU][SIFoldOperands] Clear kills when folding ...

Carl Ritson via All-commits all-commits at lists.llvm.org
Wed Jul 27 20:01:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dbda30e2947b0c1339bb080b21475b2a44ca5fd5
      https://github.com/llvm/llvm-project/commit/dbda30e2947b0c1339bb080b21475b2a44ca5fd5
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    A llvm/test/CodeGen/AMDGPU/si-fold-copy-kills.mir

  Log Message:
  -----------
  [AMDGPU][SIFoldOperands] Clear kills when folding COPY

Clear all kill flags on source register when folding a COPY.
This is necessary because the kills may now be out of order with the uses.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D130622




More information about the All-commits mailing list