[FastISel][AArch64] Fix a missing nullptr check in 'computeAddress'.
authorJuergen Ributzka <juergen@apple.com>
Tue, 9 Dec 2014 19:44:38 +0000 (19:44 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 9 Dec 2014 19:44:38 +0000 (19:44 +0000)
commit772744826c9ebe6883673eb46f0c455f52e7583d
treee5e8073be40ec897feef41dacebc513541f76fd6
parent260731d10800540c24f1e42bcf2c0c73550e9048
[FastISel][AArch64] Fix a missing nullptr check in 'computeAddress'.

The load/store value type is currently not available when lowering the memcpy
intrinsic. Add the missing nullptr check to support this in 'computeAddress'.

Fixes rdar://problem/19178947.

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