• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; This tests that llc generates 'ret' instruction in assembly output.
2
3; RUN: llc < %s -march=nios2 2>&1 | FileCheck %s --check-prefix=ARCH
4
5; ARCH: ret
6
7define i32 @f(i32 %i) {
8  ret i32 %i
9}
10