diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-12-22 00:04:03 +0000 |
| commit | f8af5cf600354830d4ccf59732403f0f073eccb9 (patch) | |
| tree | 2ba0398b4c42ad4f55561327538044fd2c925a8b /test/CodeGen/PowerPC/reg-names.ll | |
| parent | 59d6cff90eecf31cb3dd860c4e786674cfdd42eb (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/PowerPC/reg-names.ll')
| -rw-r--r-- | test/CodeGen/PowerPC/reg-names.ll | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/reg-names.ll b/test/CodeGen/PowerPC/reg-names.ll new file mode 100644 index 0000000000000..f8fa7e4020e9d --- /dev/null +++ b/test/CodeGen/PowerPC/reg-names.ll @@ -0,0 +1,17 @@ +; RUN: llc -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s +; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -ppc-asm-full-reg-names < %s | FileCheck -check-prefix=CHECK-FN %s + +define i64 @test1(i64 %a, i64 %b) { +; CHECK-LABEL: @test1 +; CHECK-FN-LABEL: @test1 + +entry: + ret i64 %b + +; CHECK: mr 3, 4 +; CHECK-FN: mr r3, r4 + +; CHECK: blr +; CHECK-FN: blr +} + |
