mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-18 10:31:57 +00:00
10 lines
219 B
LLVM
10 lines
219 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86
|
||
|
; RUN: llvm-as < %s | llc -march=x86-64
|
||
|
|
||
|
define void @t(i128 %x, i128 %a, i128* nocapture %r) nounwind {
|
||
|
entry:
|
||
|
%0 = lshr i128 %x, %a
|
||
|
store i128 %0, i128* %r, align 16
|
||
|
ret void
|
||
|
}
|