mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-15 20:06:46 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
198 B
LLVM
10 lines
198 B
LLVM
; RUN: llc < %s -march=x86
|
|
|
|
define void @foo(i2011* %x, i2011* %y, i2011* %p) nounwind {
|
|
%a = load i2011* %x
|
|
%b = load i2011* %y
|
|
%c = add i2011 %a, %b
|
|
store i2011 %c, i2011* %p
|
|
ret void
|
|
}
|