mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-10 06:54:54 +00:00
10 lines
225 B
LLVM
10 lines
225 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86
|
||
|
; RUN: llvm-as < %s | llc -march=x86-64
|
||
|
|
||
|
define void @t(i256 %x, i256 %a, i256* nocapture %r) nounwind readnone {
|
||
|
entry:
|
||
|
%0 = ashr i256 %x, %a
|
||
|
store i256 %0, i256* %r
|
||
|
ret void
|
||
|
}
|