[PATCH] D93302: Disable Jump Threading for the targets with divergent control flow

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 16 09:57:26 PST 2020


nikic added inline comments.


================
Comment at: llvm/test/Transforms/JumpThreading/divergent-target-test.ll:2
+; RUN: opt < %s -mtriple=amdgcn -jump-threading -S | FileCheck %s  -check-prefixes=CHECK,DIVERGENT
+; RUN: opt < %s -mtriple=x86_64 -jump-threading -S | FileCheck %s  -check-prefixes=CHECK,UNIFORM
+
----------------
You probably need some `REQUIRES` for x86 & amdgpu here, otherwise the test may fail if these targets are not built.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93302



More information about the llvm-commits mailing list