blob: 06f4a8582fa19a07fccfd12dab0c523979f6fa97 [file] [log] [blame]
Dan Gohman80386c102010-01-26 19:25:59 +00001; RUN: opt < %s -scalar-evolution -analyze \
Chandler Carrutha5a29f92012-07-02 12:47:22 +00002; RUN: | grep "\--> (zext" | count 2
Dan Gohman6350296e2009-05-18 16:29:04 +00003
4define i32 @foo(i32 %x) {
5 %n = and i32 %x, 255
6 %y = xor i32 %n, 255
7 ret i32 %y
8}