; 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, making the loop dead. ; ; RUN: opt < %s -indvars -loop-deletion -simplifycfg -S | FileCheck %s ; CHECK-NOT: br define i32 @polynomial_constant() { ;