[llvm-commits] [llvm] r90488 - /llvm/trunk/lib/CodeGen/MachineInstr.cpp

Chris Lattner clattner at apple.com
Thu Dec 3 16:56:13 PST 2009


On Dec 3, 2009, at 3:02 PM, Evan Cheng wrote:

>
> On Dec 3, 2009, at 2:01 PM, Chris Lattner wrote:
>
>>
>> On Dec 3, 2009, at 1:50 PM, Evan Cheng wrote:
>>
>>> Author: evancheng
>>> Date: Thu Dec  3 15:50:58 2009
>>> New Revision: 90488
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=90488&view=rev
>>> Log:
>>> Watch out for PHI instruction with no source operands.
>>
>> These aren't valid at the LLVM IR level, are they allowed at MI  
>> level?  What pass is creating them?
>
> They are not valid in MI level but could exist before the  
> instruction is completely filled out. I don't want this function to  
> trip over them.

The corresponding function at the IR level should abort on this, is MI  
level different?

-Chris



More information about the llvm-commits mailing list