llvm.org GIT mirror llvm / release_26 test / CodeGen / X86 / i2k.ll
release_26

Tree @release_26 (Download .tar.gz)

i2k.ll @release_26raw · history · blame

1
2
3
4
5
6
7
8
9
; 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
}