[llvm] r263572 - [AArch64] Move GlobalISel test cases into a GlobalISel subdirectory
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 15 11:30:00 PDT 2016
Author: qcolombet
Date: Tue Mar 15 13:30:00 2016
New Revision: 263572
URL: http://llvm.org/viewvc/llvm-project?rev=263572&view=rev
Log:
[AArch64] Move GlobalISel test cases into a GlobalISel subdirectory
Added:
llvm/trunk/test/CodeGen/AArch64/GlobalISel/
llvm/trunk/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
- copied unchanged from r263319, llvm/trunk/test/CodeGen/AArch64/arm64-irtranslator.ll
Removed:
llvm/trunk/test/CodeGen/AArch64/arm64-irtranslator.ll
Removed: llvm/trunk/test/CodeGen/AArch64/arm64-irtranslator.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/arm64-irtranslator.ll?rev=263571&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/arm64-irtranslator.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/arm64-irtranslator.ll (removed)
@@ -1,40 +0,0 @@
-; RUN: llc -O0 -stop-after=irtranslator -global-isel %s -o - 2>&1 | FileCheck %s
-; REQUIRES: global-isel
-; This file checks that the translation from llvm IR to generic MachineInstr
-; is correct.
-target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
-target triple = "aarch64-apple-ios"
-
-; Tests for add.
-; CHECK: name: addi64
-; CHECK: [[ARG1:%[0-9]+]](64) = COPY %x0
-; CHECK-NEXT: [[ARG2:%[0-9]+]](64) = COPY %x1
-; CHECK-NEXT: [[RES:%[0-9]+]](64) = G_ADD i64 [[ARG1]], [[ARG2]]
-; CHECK-NEXT: %x0 = COPY [[RES]]
-; CHECK-NEXT: RET_ReallyLR implicit %x0
-define i64 @addi64(i64 %arg1, i64 %arg2) {
- %res = add i64 %arg1, %arg2
- ret i64 %res
-}
-
-; Tests for br.
-; CHECK: name: uncondbr
-; CHECK: body:
-;
-; Entry basic block.
-; CHECK: {{[0-9a-zA-Z._-]+}}:
-;
-; Make sure we have one successor and only one.
-; CHECK-NEXT: successors: %[[END:[0-9a-zA-Z._-]+]]({{0x[a-f0-9]+ / 0x[a-f0-9]+}} = 100.00%)
-;
-; Check that we emit the correct branch.
-; CHECK: G_BR label %[[END]]
-;
-; Check that end contains the return instruction.
-; CHECK: [[END]]:
-; CHECK-NEXT: RET_ReallyLR
-define void @uncondbr() {
- br label %end
-end:
- ret void
-}
More information about the llvm-commits
mailing list