[PATCH] D30796: Only unswitch loops with uniform conditions
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 9 15:41:32 PST 2017
efriedma added inline comments.
================
Comment at: test/Transforms/LoopUnswitch/AMDGPU/divergent-unswitch.ll:2
+; RUN: opt -mtriple=amdgcn-- -O3 -S %s | FileCheck --check-prefix=ALL --check-prefix=AMDGPU %s
+; RUN: opt -O3 -S %s | FileCheck --check-prefix=ALL --check-prefix=NONDIV %s
+
----------------
This will break if the user compiles LLVM with only the AMDGPU target enabled.
Repository:
rL LLVM
https://reviews.llvm.org/D30796
More information about the llvm-commits
mailing list