mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
9 lines
200 B
LLVM
9 lines
200 B
LLVM
|
; RUN: llvm-as < %s | opt -scalar-evolution -analyze -disable-output \
|
||
|
; RUN: | grep {\\--> (zext} | count 2
|
||
|
|
||
|
define i32 @foo(i32 %x) {
|
||
|
%n = and i32 %x, 255
|
||
|
%y = xor i32 %n, 255
|
||
|
ret i32 %y
|
||
|
}
|