[all-commits] [llvm/llvm-project] a80ebd: [AMDGPU] Fix llvm.amdgcn.init.exec and frame mater...

Carl Ritson via All-commits all-commits at lists.llvm.org
Sun Jan 24 15:55:24 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a80ebd01798ca82a4f5ffd6d355c5c9facd83375
      https://github.com/llvm/llvm-project/commit/a80ebd01798ca82a4f5ffd6d355c5c9facd83375
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIInstructions.td
    M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.init.exec.ll

  Log Message:
  -----------
  [AMDGPU] Fix llvm.amdgcn.init.exec and frame materialization

Frame-base materialization may insert vector instructions before EXEC is initialised.
Fix this by moving lowering of llvm.amdgcn.init.exec later in backend.
Also remove SI_INIT_EXEC_LO pseudo as this is not necessary.

Reviewed By: ruiling

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




More information about the All-commits mailing list