Displaying 6 results from an estimated 6 matches for "tmp86".
Did you mean:
tmp6
2017 Jul 24
2
LazyValueInfo vs ScalarEvolution
Hi,
Both LazyValueInfo and ScalarEvolution can calculate a constant range for
an LLVM Value.
I found that some times they do not agree, may be I interpreted them
incorrectly
For example in the following IR:
bb85: ; preds = %bb85, %bb73
%tmp86 = phi i32 [ 1, %bb73 ], [ %tmp95, %bb85 ]
%tmp95 = add nsw i32 %tmp86, 1
%tmp96 = icmp slt i32 %tmp95, 20
br i1 %tmp96, label %bb85, label %bb97
LazyValueInfo give:
POP %tmp86 = phi i32 [ 1, %bb73 ], [ %tmp95, %bb85 ] in bb85 =
constantrange<-2147483648, 20>
While ScalarEvolution g...
2017 Jul 24
2
LazyValueInfo vs ScalarEvolution
...a constant range for
>> an LLVM Value.
>> I found that some times they do not agree, may be I interpreted them
>> incorrectly
>>
>> For example in the following IR:
>>
>> bb85: ; preds = %bb85, %bb73
>> %tmp86 = phi i32 [ 1, %bb73 ], [ %tmp95, %bb85 ]
>> %tmp95 = add nsw i32 %tmp86, 1
>> %tmp96 = icmp slt i32 %tmp95, 20
>> br i1 %tmp96, label %bb85, label %bb97
>>
>> LazyValueInfo give:
>>
>> POP %tmp86 = phi i32 [ 1, %bb73 ], [ %tmp95, %bb85 ] in bb85...
2007 Jul 12
2
[LLVMdev] BasicCallGraph patch
The current BasicCallGraph will miss call sites like this:
%tmp86 = call i8* (...)* bitcast (i8* ()* @find_ispell to i8* (...)*)( )
; <i8*> [#uses=1]
Here the direct user of @find_ispell is a ConstantExpr.
I added several lines of code to address this case.
Below is the output of command: svn diff lib/Analysis/IPA/CallGraph.cpp
Attached is LLVM asm fil...
2007 Jul 17
0
[LLVMdev] BasicCallGraph patch
On Thu, 12 Jul 2007, Zhongxing Xu wrote:
> The current BasicCallGraph will miss call sites like this:
> %tmp86 = call i8* (...)* bitcast (i8* ()* @find_ispell to i8* (...)*)( )
> ; <i8*> [#uses=1]
>
> Here the direct user of @find_ispell is a ConstantExpr.
> I added several lines of code to address this case.
> Below is the output of command: svn diff lib/Analysis/IPA/CallGraph.cpp...
2007 Jul 17
2
[LLVMdev] BasicCallGraph patch
...the call graph to be incomplete.
But thanks for your information, instcombine really solves the problem.
On 7/17/07, Chris Lattner <sabre at nondot.org> wrote:
>
> On Thu, 12 Jul 2007, Zhongxing Xu wrote:
> > The current BasicCallGraph will miss call sites like this:
> > %tmp86 = call i8* (...)* bitcast (i8* ()* @find_ispell to i8* (...)*)( )
> > ; <i8*> [#uses=1]
> >
> > Here the direct user of @find_ispell is a ConstantExpr.
> > I added several lines of code to address this case.
> > Below is the output of command: svn diff lib/An...
2007 Jul 17
0
[LLVMdev] BasicCallGraph patch
...for this sort of stuff
because it can get too far from the source level.
-Chris
> On 7/17/07, Chris Lattner <sabre at nondot.org> wrote:
>>
>> On Thu, 12 Jul 2007, Zhongxing Xu wrote:
>> > The current BasicCallGraph will miss call sites like this:
>> > %tmp86 = call i8* (...)* bitcast (i8* ()* @find_ispell to i8* (...)*)( )
>> > ; <i8*> [#uses=1]
>> >
>> > Here the direct user of @find_ispell is a ConstantExpr.
>> > I added several lines of code to address this case.
>> > Below is the output of...