Displaying 6 results from an estimated 6 matches for "visitphinode".
2004 Sep 03
4
[LLVMdev] diffs for vc7.1
...b/Target/TargetSchedInfo.cpp, # int
classPairGaps[numSchedClasses][numSchedClasses]; C99 array
The next bigger problem is that the compiler complains about this kind
of construct...
<snip>
for (BasicBlock::iterator I = Dest->begin(); PHINode *PN =
dyn_cast<PHINode>(I); ++I)
visitPHINode(*PN);
<snip>
build_vc71\lib\Transforms\Scalar\SCCP.cpp(202) : error C2275:
'llvm::PHINode' : illegal use of this type as an expression
in short, is the assignment in the PHINode *PN = dyn_cast<PHINode>(I)
,as if I break it in:
for (BasicBlock::iterator I = Dest->begin();...
2004 Sep 03
0
[LLVMdev] diffs for vc7.1
Hi Paolo,
> <snip>
> for (BasicBlock::iterator I = Dest->begin(); PHINode *PN =
> dyn_cast<PHINode>(I); ++I)
> visitPHINode(*PN);
> <snip>
>
> build_vc71\lib\Transforms\Scalar\SCCP.cpp(202) : error C2275:
> 'llvm::PHINode' : illegal use of this type as an expression
>
> but I think is a NO-NO, so suggestions?
Since it's fussy about a declaration in the for construct, perhaps
someth...
2004 Sep 03
2
[LLVMdev] diffs for vc7.1
On Fri, Sep 03, 2004 at 03:01:01PM -0500, Anshu Dasgupta wrote:
> ><snip>
> >for (BasicBlock::iterator I = Dest->begin(); PHINode *PN =
> >dyn_cast<PHINode>(I); ++I)
> > visitPHINode(*PN);
> ><snip>
> >
> >build_vc71\lib\Transforms\Scalar\SCCP.cpp(202) : error C2275:
> >'llvm::PHINode' : illegal use of this type as an expression
> >
> >but I think is a NO-NO, so suggestions?
>
> Since it's fussy about a declaration i...
2004 Sep 03
0
[LLVMdev] diffs for vc7.1
...no salis"
On Sep 3, 2004, at 10:07 PM, Misha Brukman wrote:
> On Fri, Sep 03, 2004 at 03:01:01PM -0500, Anshu Dasgupta wrote:
>>> <snip>
>>> for (BasicBlock::iterator I = Dest->begin(); PHINode *PN =
>>> dyn_cast<PHINode>(I); ++I)
>>> visitPHINode(*PN);
>>> <snip>
>>>
>>> build_vc71\lib\Transforms\Scalar\SCCP.cpp(202) : error C2275:
>>> 'llvm::PHINode' : illegal use of this type as an expression
>>>
>>> but I think is a NO-NO, so suggestions?
>>
>> Since it's...
2004 Sep 07
2
[LLVMdev] diffs for vc7.1
...04, at 10:07 PM, Misha Brukman wrote:
>
> > On Fri, Sep 03, 2004 at 03:01:01PM -0500, Anshu Dasgupta wrote:
> >>> <snip>
> >>> for (BasicBlock::iterator I = Dest->begin(); PHINode *PN =
> >>> dyn_cast<PHINode>(I); ++I)
> >>> visitPHINode(*PN);
> >>> <snip>
> >>>
> >>> build_vc71\lib\Transforms\Scalar\SCCP.cpp(202) : error C2275:
> >>> 'llvm::PHINode' : illegal use of this type as an expression
> >>>
> >>> but I think is a NO-NO, so suggestions?
&g...
2017 Apr 14
2
Saving Compile Time in InstCombine
On Fri, Apr 14, 2017 at 2:19 PM, Mikulin, Dmitry
<dmitry.mikulin at sony.com> wrote:
>
>>> Is this a run with debug info? i.e. are you passing -g to the per-TU
>>> pipeline? I'm inclined to think this is mostly an additive effect
>>> adding matchers here and there that don't really hurt small testcases
>>> but we pay the debt over time (in