comparison llvm/test/Transforms/IndVarSimplify/tripcount_infinite.ll @ 252:1f2b6ac9f198 llvm-original

LLVM16-1
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 18 Aug 2023 09:04:13 +0900
parents 79ff65ed7e25
children
comparison
equal deleted inserted replaced
237:c80f45b162ad 252:1f2b6ac9f198
1 ; These tests have an infinite trip count. We obviously shouldn't remove the 1 ; These tests have an infinite trip count. We obviously shouldn't remove the
2 ; loops! :) 2 ; loops! :)
3 ; 3 ;
4 ; RUN: opt < %s -indvars -adce -simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s 4 ; RUN: opt < %s -passes='loop(indvars),adce,simplifycfg' -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
5 5
6 ;; test for (i = 1; i != 100; i += 2) 6 ;; test for (i = 1; i != 100; i += 2)
7 define i32 @infinite_linear() { 7 define i32 @infinite_linear() {
8 ; CHECK-LABEL: @infinite_linear( 8 ; CHECK-LABEL: @infinite_linear(
9 entry: 9 entry: