; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; RUN: opt < %s -indvars -loop-deletion -simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s ; Test that we can evaluate the exit values of various expression types. Since ; these loops all have predictable exit values we can replace the use outside ; of the loop with a closed-form computation. define i32 @polynomial_constant() { ;