[ARM] GlobalISel: Make struct arguments fail elegantly

Description

[ARM] GlobalISel: Make struct arguments fail elegantly

The condition in isSupportedType didn't handle struct/array arguments
properly. Fix the check and add a test to make sure we use the fallback
path in this kind of situation. The test deals with some common cases
where the call lowering should error out. There are still some issues
here that need to be addressed (tail calls come to mind), but they can
be addressed in other patches.

Details

Committed
rovkaFri, Apr 21, 4:53 AM
Parents
rL300966: [globalisel][tablegen] Attempt to fix builds on old MSVC's after r300964
Branches
Unknown
Tags
Unknown