mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
10 lines
206 B
LLVM
10 lines
206 B
LLVM
|
; RUN: llvm-as < %s | opt -sccp | llvm-dis | not grep xor
|
||
|
|
||
|
define i11129 @test1() {
|
||
|
%B = shl i11129 1, 11128
|
||
|
%C = sub i11129 %B, 1
|
||
|
%D = xor i11129 %B, %C
|
||
|
|
||
|
ret i11129 %D
|
||
|
}
|