[LLVMdev] diffs for vc7.1

Paolo Invernizzi arathorn at fastwebnet.it
Wed Sep 8 01:38:38 PDT 2004


Thanks Chris , I'll prepare the pathes for the weekend.

---
Paolo Invernizzi

On Sep 7, 2004, at 11:31 PM, Chris Lattner wrote:

> On Fri, 3 Sep 2004, Paolo Invernizzi wrote:
>
>> I can confirm that both are compiled properly:
>
> Ok.
>
>> for (BasicBlock::iterator I = H->begin; isa<PHINode>(I); I++) {
>>      PHINode *PN = cast<PHINode(I);
>>      ....
>> }
>>
>> I'll make a patch for whatever solution do you prefer (this problem is
>> a showstopper for more than a dozen files...)
>
> I prefer this option (it reduces the scope of the PN variable).
>
> -Chris




More information about the llvm-dev mailing list