OSDN Git Service

[ARM GlobalISel] Be more careful about bailing out
authorDiana Picus <diana.picus@linaro.org>
Tue, 30 Apr 2019 09:05:25 +0000 (09:05 +0000)
committerDiana Picus <diana.picus@linaro.org>
Tue, 30 Apr 2019 09:05:25 +0000 (09:05 +0000)
commit4f2449575fb2c469b08348cb1165bfaa9053ded6
tree6be7a67277027908d8069139a1c47baffb6325e2
parent67c2691c8d83a865972aeb0fbeea7d52c841a2b1
[ARM GlobalISel] Be more careful about bailing out

Bail out on function arguments/returns with types aggregating an
unsupported type. This fixes cases where we would happily and
incorrectly lower functions taking e.g. [1 x i64] parameters, when we
don't even support plain i64 yet.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359540 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCallLowering.cpp
test/CodeGen/ARM/GlobalISel/arm-unsupported.ll