[all-commits] [llvm/llvm-project] 971f41: [AMDGPU][GlobalISel] Insert an and with exec befor...

Mirko BrkuĊĦanin via All-commits all-commits at lists.llvm.org
Thu Jul 29 02:23:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 971f4173f82da6e13ee4c5b1a0301ba0fde0d696
      https://github.com/llvm/llvm-project/commit/971f4173f82da6e13ee4c5b1a0301ba0fde0d696
  Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-brcond.mir

  Log Message:
  -----------
  [AMDGPU][GlobalISel] Insert an and with exec before s_cbranch_vccnz if necessary

While v_cmp will AND inactive lanes with 0, that is not the case for logical
operations.

This fixes a Vulkan CTS test that would hang otherwise.

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




More information about the All-commits mailing list