[PATCH] D60425: [GlobalISel][AArch64] Allow CallLowering to handle types
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 8 15:49:10 PDT 2019
aemerson created this revision.
aemerson added reviewers: paquette, arsenm.
aemerson added a project: LLVM.
Herald added subscribers: Petar.Avramovic, volkan, hiraditya, kristof.beyls, javed.absar, rovka, wdng.
Allow CallLowering to handle types which are normally required to be passed as different register types. E.g. <2 x i16> may need to be passed as a larger <2 x i32> type, so formal arg lowering needs to be able truncate it back. Likewise, when dealing with returns of these types, they need to be widened in the appropriate way back
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D60425
Files:
llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
llvm/lib/Target/AArch64/AArch64CallLowering.cpp
llvm/lib/Target/ARM/ARMCallLowering.cpp
llvm/lib/Target/X86/X86CallLowering.cpp
llvm/test/CodeGen/AArch64/GlobalISel/ret-vec-promote.ll
llvm/test/CodeGen/AArch64/GlobalISel/vec-s16-param.ll
llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60425.194214.patch
Type: text/x-patch
Size: 11765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190408/da80917c/attachment.bin>
More information about the llvm-commits
mailing list