[GlobalISel][IRTranslator] Fix crash during translation of zero sized loads/stores...
authorAmara Emerson <aemerson@apple.com>
Thu, 30 Nov 2017 20:06:02 +0000 (20:06 +0000)
committerAmara Emerson <aemerson@apple.com>
Thu, 30 Nov 2017 20:06:02 +0000 (20:06 +0000)
commitd78d65c2a4eed16b273c214d24f5d5f55ce31d52
treecff9262ba11c2ab5cf3994dfb4e274c3835fc767
parent9750f662f70de69cb7b618e4477e30d6d3adb267
[GlobalISel][IRTranslator] Fix crash during translation of zero sized loads/stores/args/returns.

This fixes PR35358.

rdar://35619533

Differential Revision: https://reviews.llvm.org/D40604

llvm-svn: 319465
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/Target/AArch64/AArch64CallLowering.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll