[llvm] [polly] [SimpleLoopUnswitch] Generalize the notion of trivial unswitching (PR #193989)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 12 09:24:43 PDT 2026
================
@@ -0,0 +1,177 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; REQUIRES: asserts
+; RUN: opt -passes='loop-mssa(simple-loop-unswitch),verify<loops>' -S < %s | FileCheck %s
+; RUN: opt -passes='loop-mssa(simple-loop-unswitch)' -disable-output -stats -info-output-file - < %s | FileCheck --check-prefix=STATS %s
----------------
nikic wrote:
Drop the stats test and `REQUIRES: asserts` please. The IR test is sufficient.
https://github.com/llvm/llvm-project/pull/193989
More information about the llvm-commits
mailing list