diff options
Diffstat (limited to 'llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ret.ll')
| -rw-r--r-- | llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ret.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ret.ll b/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ret.ll new file mode 100644 index 00000000000..0c89e15a3d1 --- /dev/null +++ b/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ret.ll @@ -0,0 +1,12 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py +; RUN: llc -O0 -mtriple=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32 + +define void @void() { +; MIPS32-LABEL: void: +; MIPS32: # %bb.0: # %entry +; MIPS32-NEXT: jr $ra +; MIPS32-NEXT: nop +entry: + ret void +} + |

