blob: 06f4a8582fa19a07fccfd12dab0c523979f6fa97 [file] [log] [blame]
Dan Gohman8a977e22010-01-26 19:25:59 +00001; RUN: opt < %s -scalar-evolution -analyze \
Chandler Carruth4177e6f2012-07-02 12:47:22 +00002; RUN: | grep "\--> (zext" | count 2
Dan Gohman10978bd2009-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}