[llvm-commits] [PATCH] Fix missing PPCTargetLowering::CanLowerReturn

Chris Lattner clattner at apple.com
Fri Oct 14 11:27:58 PDT 2011


Looks fine to me, please commit if you haven't already.

-Chris

On Oct 11, 2011, at 9:31 PM, Hal Finkel wrote:

> The PowerPC backend was missing an implementation of the CanLowerReturn
> function. This would cause code generation to crash when, for example,
> provided a function with a vector return type that did not correspond to
> one of the vector registers. The provided patch seems to fix that
> problem (I essentially copied the few lines of implementation from the
> X86 backend, hopefully that was a reasonable thing to do). I've included
> a test case.
> 
> -Hal
> 
> -- 
> Hal Finkel
> Postdoctoral Appointee
> Leadership Computing Facility
> Argonne National Laboratory
> <llvm_ppc_clr-20101011.diff>_______________________________________________
> 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