[PATCH] D98958: [NewPM] Disable non-trivial loop-unswitch on targets with divergence

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 22 10:18:08 PDT 2021


tra added inline comments.


================
Comment at: llvm/test/Transforms/LoopUnswitch/AMDGPU/divergent-unswitch.ll:16
-
-define amdgpu_kernel void @uniform_unswitch(i32 * nocapture %out, i32 %n, i32 %x) {
-entry:
----------------
Perhaps the test should be replaced with a test that verifies that unswitch does *not* happen.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98958/new/

https://reviews.llvm.org/D98958



More information about the llvm-commits mailing list