• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: not llc -march=sparc < %s -o /dev/null 2>&1 | FileCheck %s
2
3; CHECK: sparc only supports sret on the first parameter
4
5define void @foo(i32 %a, i32* sret %out) {
6  store i32 %a, i32* %out
7  ret void
8}
9