blob: 712302da76d002f434a2ed360f6db5e14d480ed2 [file] [log] [blame]
Dan Gohman3a5797d2008-11-03 17:56:27 +00001; RUN: llvm-as < %s | llc -march=x86
2
3define void @foo(i2011* %x, i2011* %y, i2011* %p) nounwind {
4 %a = load i2011* %x
5 %b = load i2011* %y
6 %c = add i2011 %a, %b
7 store i2011 %c, i2011* %p
8 ret void
9}