view test/CodeGen/SPARC/sret-secondary.ll @ 77:54457678186b LLVM3.6

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents
children
line wrap: on
line source

; RUN: not llc -march=sparc < %s -o /dev/null 2>&1 | FileCheck %s

; CHECK: sparc only supports sret on the first parameter

define void @foo(i32 %a, i32* sret %out) {
  store i32 %a, i32* %out
  ret void
}