[llvm] r218364 - Clear PreferredExtendType for in each function-specific state FunctionLoweringInfo.

David Blaikie dblaikie at gmail.com
Tue Sep 23 21:41:12 PDT 2014


On Tue, Sep 23, 2014 at 9:40 PM, David Blaikie <dblaikie at gmail.com> wrote:

>
>
> On Tue, Sep 23, 2014 at 8:22 PM, Jiangning Liu <jiangning.liu at arm.com>
> wrote:
>
>> Author: jiangning
>> Date: Tue Sep 23 22:22:56 2014
>> New Revision: 218364
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=218364&view=rev
>> Log:
>> Clear PreferredExtendType for in each function-specific state
>> FunctionLoweringInfo.
>>
>
> Is this fixing a bug? Should it have a test case?
>

Ah, I see in the code review of 218101 - a memory leak/fix introduced in
that commit.


>
>
>>
>>
>> Modified:
>>     llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
>>
>> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
>> URL:
>> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp?rev=218364&r1=218363&r2=218364&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
>> (original)
>> +++ llvm/trunk/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp Tue Sep
>> 23 22:22:56 2014
>> @@ -275,6 +275,7 @@ void FunctionLoweringInfo::clear() {
>>    ArgDbgValues.clear();
>>    ByValArgFrameIndexMap.clear();
>>    RegFixups.clear();
>> +  PreferredExtendType.clear();
>>  }
>>
>>  /// CreateReg - Allocate a single virtual register for the given type.
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140923/ebba0099/attachment.html>


More information about the llvm-commits mailing list