[FastISel][AArch64] Add custom lowering for GEPs.
authorJuergen Ributzka <juergen@apple.com>
Tue, 14 Oct 2014 21:41:23 +0000 (21:41 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 14 Oct 2014 21:41:23 +0000 (21:41 +0000)
commit569c5b62afbfc9d43164f40449d0c6c42fc1836f
treebe45d4cd99209e40faea68d82cb9b7a416dd8867
parent76806748d431ac695bd4b6b516343f94a39e4191
[FastISel][AArch64] Add custom lowering for GEPs.

This is mostly a copy of the existing FastISel GEP code, but on AArch64 we bail
out even for simple cases, because the standard fastEmit functions don't cover
MUL and ADD is lowered inefficientily.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219726 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/arm64-fast-isel-alloca.ll
test/CodeGen/AArch64/fast-isel-gep.ll [new file with mode: 0644]