2013-08-22 00:51:19 +00:00
|
|
|
; RUN: opt < %s -scalar-evolution -analyze | FileCheck %s
|
|
|
|
|
|
|
|
; CHECK: --> (zext
|
|
|
|
; CHECK: --> (zext
|
|
|
|
; CHECK-NOT: --> (zext
|
2009-05-18 16:29:04 +00:00
|
|
|
|
|
|
|
define i32 @foo(i32 %x) {
|
|
|
|
%n = and i32 %x, 255
|
|
|
|
%y = xor i32 %n, 255
|
|
|
|
ret i32 %y
|
|
|
|
}
|