[llvm] r215588 - [FastISel] Let the target decide first if it wants to materialize a constant.

Juergen Ributzka juergen at apple.com
Thu Aug 14 10:37:41 PDT 2014


Copy paste from TargetMaterializeConstant ;) The file is a little bit of a mess when it comes to function names. Should I do a cleanup and update all the function names while I am at it?

-Juergen

On Aug 13, 2014, at 6:30 PM, Eric Christopher <echristo at gmail.com> wrote:

> 
> 
> -/// materializeRegForValue - Helper for getRegForValue. This function is
> -/// called when the value isn't already available in a register and must
> -/// be materialized with new instructions.
> -unsigned FastISel::materializeRegForValue(const Value *V, MVT VT) {
> +unsigned FastISel::MaterializeConstant(const Value *V, MVT VT) {
>    unsigned Reg = 0;
> -
> 
> Coding standard has functions with lower case names? :)
> 
>  -eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140814/3c6ff942/attachment.html>


More information about the llvm-commits mailing list