| commit | df98a7a34dde36bda1c82fa924be52c7becbcdb2 | [log] [tgz] |
|---|---|---|
| author | Akira Hatanaka <ahatanaka@mips.com> | Thu May 24 18:32:33 2012 +0000 |
| committer | Akira Hatanaka <ahatanaka@mips.com> | Thu May 24 18:32:33 2012 +0000 |
| tree | be95a2788bcce748aeed13f085c8a55e26296174 | |
| parent | 246f519a51653dfc3a1af1ac4bc31bb252c633fd [diff] [blame] |
Enable Mips16 compiler to compile a null program. First code from the Mips16 compiler. Includes trivial test program. Patch by Reed Kotler. llvm-svn: 157408
diff --git a/llvm/test/CodeGen/Mips/null.ll b/llvm/test/CodeGen/Mips/null.ll new file mode 100644 index 0000000..a5e2c06 --- /dev/null +++ b/llvm/test/CodeGen/Mips/null.ll
@@ -0,0 +1,10 @@ +; RUN: llc -march=mipsel -mcpu=mips16 < %s | FileCheck %s -check-prefix=16 + + +define i32 @main() nounwind { +entry: + ret i32 0 + +; 16: jr $ra + +}