[llvm-commits] [llvm] r63593 - in /llvm/trunk/lib/CodeGen/SelectionDAG: SelectionDAGBuild.cpp SelectionDAGISel.cpp

Dale Johannesen dalej at apple.com
Mon Feb 2 18:09:11 PST 2009


On Feb 2, 2009, at 5:56 PMPST, Evan Cheng wrote:

>
> On Feb 2, 2009, at 5:51 PM, Dale Johannesen wrote:
>
>>
>> On Feb 2, 2009, at 5:33 PMPST, Bill Wendling wrote:
>>
>>> Author: void
>>> Date: Mon Feb  2 19:33:28 2009
>>> New Revision: 63593
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=63593&view=rev
>>> Log:
>>> Explicitly pass in the "unknown" debug location. This is probably  
>>> not
>>> correct. We need more infrastructure before we can get the DebugLoc
>>> info for
>>> these instructions.
>>>
>>> Modified:
>>>  llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
>>
>> I don't think we need this for PHIs, they don't survive to the  
>> output.
>
> They can become copies which are not always coalesced away.
>
> Evan

OK.
There's a DL in the BasicBlock SDNode's, then, I guess PHIs could use  
that if it's been created at this point.  Not sure offhand how you get  
at it from inside FunctionLoweringInfo.




More information about the llvm-commits mailing list