diff options
| author | Juergen Ributzka <juergen@apple.com> | 2014-10-15 04:55:48 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@apple.com> | 2014-10-15 04:55:48 +0000 |
| commit | 42379d4cf76783dbadf2b1032b9506fe422ed320 (patch) | |
| tree | 5f98b514938043230ba88a40f9b1fe0288e6e4cb /llvm/test/CodeGen/AArch64/fast-isel-gep.ll | |
| parent | 1573d73367a454b033dd6f840a1a4cb6a739d152 (diff) | |
| download | bcm5719-llvm-42379d4cf76783dbadf2b1032b9506fe422ed320.tar.gz bcm5719-llvm-42379d4cf76783dbadf2b1032b9506fe422ed320.zip | |
Revert "[FastISel][AArch64] Add custom lowering for GEPs."
This breaks our internal build bots. Reverting it to get the bots green again.
llvm-svn: 219776
Diffstat (limited to 'llvm/test/CodeGen/AArch64/fast-isel-gep.ll')
| -rw-r--r-- | llvm/test/CodeGen/AArch64/fast-isel-gep.ll | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/test/CodeGen/AArch64/fast-isel-gep.ll b/llvm/test/CodeGen/AArch64/fast-isel-gep.ll deleted file mode 100644 index d72019801ba..00000000000 --- a/llvm/test/CodeGen/AArch64/fast-isel-gep.ll +++ /dev/null @@ -1,18 +0,0 @@ -; RUN: llc -mtriple=aarch64-apple-darwin -fast-isel -fast-isel-abort -verify-machineinstrs < %s | FileCheck %s - -%struct.foo = type { i32, i64, float, double } - -define double* @test_struct(%struct.foo* %f) { -; CHECK-LABEL: test_struct -; CHECK: add x0, x0, #24 - %1 = getelementptr inbounds %struct.foo* %f, i64 0, i32 3 - ret double* %1 -} - -define i32* @test_array(i32* %a, i64 %i) { -; CHECK-LABEL: test_array -; CHECK: orr [[REG:x[0-9]+]], xzr, #0x4 -; CHECK-NEXT: madd x0, x1, [[REG]], x0 - %1 = getelementptr inbounds i32* %a, i64 %i - ret i32* %1 -} |

