This implements LanaiTargetLowering::CanLowerReturn, thereby ensuring
all return values conform to the RetCC and get sret-demoted as
necessary.
A regression test is also added that exercises this functionality.
Paths
| Differential D107086
[Lanai] fix lowering wide returns ClosedPublic Authored by q3k on Jul 29 2021, 9:36 AM.
Details
Summary This implements LanaiTargetLowering::CanLowerReturn, thereby ensuring A regression test is also added that exercises this functionality.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 2 2021, 9:55 AM Closed by commit rG7ece20505f12: [Lanai] fix lowering wide returns (authored by q3k, committed by MaskRay). · Explain WhyAug 5 2021, 9:08 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 364689 llvm/lib/Target/Lanai/LanaiISelLowering.h
llvm/lib/Target/Lanai/LanaiISelLowering.cpp
llvm/test/CodeGen/Lanai/lowering-128.ll
|