blob: 17725735a7ce832c88025fd510cb90d6d9ec2f0e [file] [log] [blame]
Dan Gohman4298d2e2010-01-26 19:25:59 +00001; RUN: opt < %s -scalar-evolution -analyze \
Dan Gohmanfc78cff2009-05-18 16:29:04 +00002; RUN: | grep {\\--> (zext} | count 2
3
4define i32 @foo(i32 %x) {
5 %n = and i32 %x, 255
6 %y = xor i32 %n, 255
7 ret i32 %y
8}