1; RUN: opt < %s -scalar-evolution -analyze -enable-new-pm=0 | FileCheck %s 2; RUN: opt < %s "-passes=print<scalar-evolution>" -disable-output 2>&1 | FileCheck %s 3 4; CHECK: --> ((-128 * %a) /u -128) 5 6; Don't let ScalarEvolution fold this div away. 7 8define i8 @foo(i8 %a) { 9 %t0 = shl i8 %a, 7 10 %t1 = lshr i8 %t0, 7 11 ret i8 %t1 12} 13