blob: 90d947f15bba3fc971b6cd12eb7546ab649a5b06 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -scalar-evolution -analyze -disable-output \
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}