[all-commits] [llvm/llvm-project] c540ce: [AMDGPU] pin lit test divergent-unswitch.ll to the...

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Wed Jan 20 08:38:48 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c540ce9900ff99566b4951186e2f070b3b36cdbe
      https://github.com/llvm/llvm-project/commit/c540ce9900ff99566b4951186e2f070b3b36cdbe
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M llvm/test/Transforms/LoopUnswitch/AMDGPU/divergent-unswitch.ll

  Log Message:
  -----------
  [AMDGPU] pin lit test divergent-unswitch.ll to the old pass manager

The loop-unswitch transform should not be performed on a loop whose
condition is divergent. For this to happen correctly, divergence
analysis must be available. The existing divergence analysis has not
been ported to the new pass manager yet. As a result, loop unswitching
on the new pass manager is currently unsafe on targets that care about
divergence.

This test is temporarily disabled to unblock work on the new pass
manager. The issue is now tracked in bug 48819.

Reviewed By: foad

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




More information about the All-commits mailing list