[all-commits] [llvm/llvm-project] 41ebd1: [AMDGPU] Do not ignore exec use where exec is read...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Thu Jan 20 14:05:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41ebd1968165d8f9646f3dc2bfbed834baaede8e
      https://github.com/llvm/llvm-project/commit/41ebd1968165d8f9646f3dc2bfbed834baaede8e
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    A llvm/test/CodeGen/AMDGPU/licm-valu.mir
    M llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll

  Log Message:
  -----------
  [AMDGPU] Do not ignore exec use where exec is read as data

Compares, v_cndmask_b32, and v_readfirstlane_b32 use EXEC
in a way which modifies the result. This implicit EXEC use
shall not be ignored for the purposes of instruction moves.

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




More information about the All-commits mailing list