comparison llvm/test/Transforms/IndVarSimplify/exit_value_tests.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 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py 1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -indvars -loop-deletion -simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s 2 ; RUN: opt < %s -passes='loop(indvars,loop-deletion),simplifycfg' -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
3 3
4 ; Test that we can evaluate the exit values of various expression types. Since 4 ; Test that we can evaluate the exit values of various expression types. Since
5 ; these loops all have predictable exit values we can replace the use outside 5 ; these loops all have predictable exit values we can replace the use outside
6 ; of the loop with a closed-form computation. 6 ; of the loop with a closed-form computation.
7 7