[llvm-commits] [PATCH] At beginning of SelectionDAGISel::LowerArguments, see if return values can be lowered to registers
Dan Gohman
gohman at apple.com
Fri Nov 6 17:17:55 PST 2009
Hello,
This looks good to me, though please use spaces instead of tabs for
indentation.
It would be cool if we could find a way to implement CanLowerReturn
without using target-specific code, since it doesn't have very much
target-specific logic in it, but I'm fine leaving this as it is
for now.
Dan
On Nov 5, 2009, at 9:51 AM, Kenneth Uildriks wrote:
> Right now, it simply asserts if the return values cannot be lowered.
> I'm working on code that will perform an sret-demotion on function
> definitions and function calls if the return values cannot be lowered
> to registers; this will allow arbitrary-sized struct returns to get
> through codegen without crashing.
> <needs-sret-demote.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list