brintos

brintos / llvm-project-archived public Read only

0
0
Text · 274 B · 911ed3e Raw
12 lines · plain
1; RUN: opt < %s "-passes=print<scalar-evolution>" -disable-output 2>&1 | FileCheck %s2 3; CHECK: -->  ((-128 * %a) /u -128)4 5; Don't let ScalarEvolution fold this div away.6 7define i8 @foo(i8 %a) {8        %t0 = shl i8 %a, 79        %t1 = lshr i8 %t0, 710        ret i8 %t111}12