[all-commits] [llvm/llvm-project] c262b6: [AMDGPU] Fix endcf collapse

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Fri Mar 13 13:50:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c262b69dcc0a280ec4d551244b3571123c36a370
      https://github.com/llvm/llvm-project/commit/c262b69dcc0a280ec4d551244b3571123c36a370
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
    M llvm/test/CodeGen/AMDGPU/collapse-endcf.ll
    M llvm/test/CodeGen/AMDGPU/collapse-endcf.mir
    M llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll

  Log Message:
  -----------
  [AMDGPU] Fix endcf collapse

Only collapse inner endcf if the outer one belongs to SI_IF.
If it does belong to SI_ELSE then mask being restored in fact
a partial inverse of what we need.

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




More information about the All-commits mailing list