[llvm] r216186 - [FastISel][AArch64] Remove redundant test.

Juergen Ributzka juergen at apple.com
Thu Aug 21 09:40:05 PDT 2014


Author: ributzka
Date: Thu Aug 21 11:40:05 2014
New Revision: 216186

URL: http://llvm.org/viewvc/llvm-project?rev=216186&view=rev
Log:
[FastISel][AArch64] Remove redundant test.

These tests and many more are already covered by fast-isel-addressing-modes.ll.

Removed:
    llvm/trunk/test/CodeGen/AArch64/fast-isel-compute-address.ll

Removed: llvm/trunk/test/CodeGen/AArch64/fast-isel-compute-address.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/fast-isel-compute-address.ll?rev=216185&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/fast-isel-compute-address.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/fast-isel-compute-address.ll (removed)
@@ -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
-}
-





More information about the llvm-commits mailing list