Add test case ret_arg2.ll. Signed-off-by: Chen Wei-Ren <chenwj@xxxxxxxxxxxxxxxxx> --- test/CodeGen/UniCore/ret_arg2.ll | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) create mode 100644 test/CodeGen/UniCore/ret_arg2.ll diff --git a/test/CodeGen/UniCore/ret_arg2.ll b/test/CodeGen/UniCore/ret_arg2.ll new file mode 100644 index 0000000..4f1b0c3 --- /dev/null +++ b/test/CodeGen/UniCore/ret_arg2.ll @@ -0,0 +1,6 @@ +; RUN: llc < %s -march=unicore32 + +define i32 @test(i32 %a1, i32 %a2) { + ret i32 %a2 +} + -- 1.7.3.4