[all-commits] [llvm/llvm-project] b32d3d: AMDGPU: Treat IMPLICIT_DEF like a constant lanemas...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 27 08:44:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b32d3d9e81cdd9275d19cd2a396c461edc9e7189
      https://github.com/llvm/llvm-project/commit/b32d3d9e81cdd9275d19cd2a396c461edc9e7189
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp
    A llvm/test/CodeGen/AMDGPU/lower-i1-copies-implicit-def-unstructured-loop.mir

  Log Message:
  -----------
  AMDGPU: Treat IMPLICIT_DEF like a constant lanemask source

This is partially a workaround. SILowerI1Copies does not understand
unstructured loops. This would result in inserting instructions to
merge a mask register in the same block where it was defined in an
unstructured loop.




More information about the All-commits mailing list