mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 16:56:50 +00:00
10 lines
208 B
LLVM
10 lines
208 B
LLVM
|
; RUN: llvm-as < %s | llc -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
|
||
|
}
|