mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01: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
|
||
|
}
|