From 69ec09b61f4c23ca6a650b8aae4f6f1bdad4f8dc Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Thu, 21 Aug 2014 16:40:05 +0000 Subject: [PATCH] [FastISel][AArch64] Remove redundant test. These tests and many more are already covered by fast-isel-addressing-modes.ll. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216186 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../AArch64/fast-isel-compute-address.ll | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 test/CodeGen/AArch64/fast-isel-compute-address.ll diff --git a/test/CodeGen/AArch64/fast-isel-compute-address.ll b/test/CodeGen/AArch64/fast-isel-compute-address.ll deleted file mode 100644 index f0b198c3d1f..00000000000 --- a/test/CodeGen/AArch64/fast-isel-compute-address.ll +++ /dev/null @@ -1,23 +0,0 @@ -; RUN: llc -fast-isel -fast-isel-abort -mtriple=arm64-apple-darwin < %s | FileCheck %s - -; Test simple constant offset. -define i64 @test_load1(i64 %a) { -; CHECK-LABEL: test_load1 -; CHECK: ldr x0, [x0, #16] - %1 = add i64 %a, 16 - %2 = inttoptr i64 %1 to i64* - %3 = load i64* %2 - ret i64 %3 -} - -; Test large constant offset. -define i64 @test_load2(i64 %a) { -; CHECK-LABEL: test_load2 -; CHECK: add [[REG:x[0-9]+]], x0, {{x[0-9]+}} -; CHECK: ldr x0, {{\[}}[[REG]]{{\]}} - %1 = add i64 %a, 16777216 - %2 = inttoptr i64 %1 to i64* - %3 = load i64* %2 - ret i64 %3 -} - -- 2.34.1