blob: 986c65751df9b2aac5aad91c3c966307491fc76f [file] [log] [blame]
Nikolai Bozhenov1cf9c542017-12-07 12:35:02 +00001; 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}