Displaying 16 results from an estimated 16 matches for "bigbase0".
2015 Jan 17
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...cut out unecessary CFL queries). Perhaps this is
> an irrelevant effect, but we should have some documented rationale.
>
>
>
> Yeah, this was a mistake (Chandler had suggested it was right
> earlier, but we were both wrong :P)
>
>
>
> ; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
> -define i8 @test0(i8* %base, i1 %x) {
> +define i8 @test0(i1 %x) {
> entry:
> + %base = alloca i8, align 4
> %baseplusone = getelementptr i8* %base, i64 1
> br i1 %x, label %red, label %green
> red:
> @@ -25,8 +26,9 @@ green:
> }
>
> why should this ret...
2015 Jan 20
4
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...but we should have some documented rationale.
>> >
>> >
>> >
>> > Yeah, this was a mistake (Chandler had suggested it was right
>> > earlier, but we were both wrong :P)
>> >
>> >
>> >
>> > ; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
>> > -define i8 @test0(i8* %base, i1 %x) {
>> > +define i8 @test0(i1 %x) {
>> > entry:
>> > + %base = alloca i8, align 4
>> > %baseplusone = getelementptr i8* %base, i64 1
>> > br i1 %x, label %red, label %green
>> > red:
>...
2015 Jan 21
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...hould have some documented rationale.
> > >
> > >
> > >
> > > Yeah, this was a mistake (Chandler had suggested it was right
> > > earlier, but we were both wrong :P)
> > >
> > >
> > >
> > > ; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
> > > -define i8 @test0(i8* %base, i1 %x) {
> > > +define i8 @test0(i1 %x) {
> > > entry:
> > > + %base = alloca i8, align 4
> > > %baseplusone = getelementptr i8* %base, i64 1
> > > br i1 %x, label %red, label %green
> > > re...
2015 Jan 21
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...t; > >
> > > >
> > > >
> > > > Yeah, this was a mistake (Chandler had suggested it was right
> > > > earlier, but we were both wrong :P)
> > > >
> > > >
> > > >
> > > > ; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
> > > > -define i8 @test0(i8* %base, i1 %x) {
> > > > +define i8 @test0(i1 %x) {
> > > > entry:
> > > > + %base = alloca i8, align 4
> > > > %baseplusone = getelementptr i8* %base, i64 1
> > > > br i1 %x, label %red,...
2015 Jan 23
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...>
> > > >
> > > >
> > > > Yeah, this was a mistake (Chandler had suggested it was right
> > > > earlier, but we were both wrong :P)
> > > >
> > > >
> > > >
> > > > ; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
> > > > -define i8 @test0(i8* %base, i1 %x) {
> > > > +define i8 @test0(i1 %x) {
> > > > entry:
> > > > + %base = alloca i8, align 4
> > > > %baseplusone = getelementptr i8* %base, i64 1
> > > > br i1 %x, label...
2015 Jan 17
3
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...d be better (guessing that the metadata queries would be faster than the CFL queries, so if the metadata could quickly return a NoAlias, then we'd cut out unecessary CFL queries). Perhaps this is an irrelevant effect, but we should have some documented rationale.
; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
-define i8 @test0(i8* %base, i1 %x) {
+define i8 @test0(i1 %x) {
entry:
+ %base = alloca i8, align 4
%baseplusone = getelementptr i8* %base, i64 1
br i1 %x, label %red, label %green
red:
@@ -25,8 +26,9 @@ green:
}
why should this return PartialAlias? %ohi does partially overlap...
2015 Jan 23
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...gt;>> > > > Yeah, this was a mistake (Chandler had suggested it was right
>>> > > > earlier, but we were both wrong :P)
>>> > > >
>>> > > >
>>> > > >
>>> > > > ; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
>>> > > > -define i8 @test0(i8* %base, i1 %x) {
>>> > > > +define i8 @test0(i1 %x) {
>>> > > > entry:
>>> > > > + %base = alloca i8, align 4
>>> > > > %baseplusone = getelementptr i8* %base, i64...
2015 Jan 23
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...>
> > > >
> > > >
> > > > Yeah, this was a mistake (Chandler had suggested it was right
> > > > earlier, but we were both wrong :P)
> > > >
> > > >
> > > >
> > > > ; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
> > > > -define i8 @test0(i8* %base, i1 %x) {
> > > > +define i8 @test0(i1 %x) {
> > > > entry:
> > > > + %base = alloca i8, align 4
> > > > %baseplusone = getelementptr i8* %base, i64 1
> > > > br i1 %x, label...
2015 Jan 24
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...t; > > > >
> > > > > Yeah, this was a mistake (Chandler had suggested it was right
> > > > > earlier, but we were both wrong :P)
> > > > >
> > > > >
> > > > >
> > > > > ; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
> > > > > -define i8 @test0(i8* %base, i1 %x) {
> > > > > +define i8 @test0(i1 %x) {
> > > > > entry:
> > > > > + %base = alloca i8, align 4
> > > > > %baseplusone = getelementptr i8* %base, i64 1
> > > &g...
2015 Jan 26
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...t; > > > > Yeah, this was a mistake (Chandler had suggested it was right
> > > > > > earlier, but we were both wrong :P)
> > > > > >
> > > > > >
> > > > > >
> > > > > > ; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
> > > > > > -define i8 @test0(i8* %base, i1 %x) {
> > > > > > +define i8 @test0(i1 %x) {
> > > > > > entry:
> > > > > > + %base = alloca i8, align 4
> > > > > > %baseplusone = getelementptr i8* %base...
2015 Jan 15
3
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
On Thu, Jan 15, 2015 at 1:26 PM, Nick Lewycky <nlewycky at google.com> wrote:
> On 15 January 2015 at 13:10, Daniel Berlin <dberlin at dberlin.org> wrote:
>
>> Yes.
>> I've attached an updated patch that does the following:
>>
>> 1. Fixes the partialalias of globals/arguments
>> 2. Enables partialalias for cases where nothing has been unified to
2015 Jan 26
0
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
Inline
George
> On Jan 26, 2015, at 1:05 PM, Daniel Berlin <dberlin at dberlin.org> wrote:
>
> George, given that, can you just build constexpr handling (it's not as easy as you think) as a separate funciton and have it use it in the right places?
Will do. :)
> FWIW, my current list of CFLAA issues is:
>
> 1. Unknown values (results from ptrtoint, incoming
2015 Jan 26
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
George, given that, can you just build constexpr handling (it's not as easy
as you think) as a separate funciton and have it use it in the right places?
FWIW, my current list of CFLAA issues is:
1. Unknown values (results from ptrtoint, incoming pointers, etc) are not
treated as unknown. These should be done through graph edge (so that they
can be one way, otherwise, you will unify
2015 Jan 30
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...; When merging MustAlias and PartialAlias, merge to PartialAlias
; instead of MayAlias.
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
-; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
-define i8 @test0(i8* %base, i1 %x) {
+; FIXME: This could be PartialAlias but CFLAA can't currently prove it
+; CHECK: MayAlias: i16* %bigbase0, i8* %phi
+define i8 @test0(i1 %x) {
entry:
+ %base = alloca i8, align 1
%baseplusone = getelementptr i8* %base, i64 1
br i1 %x, la...
2015 Jan 15
2
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
...must-and-partial.ll
+++ b/test/Analysis/CFLAliasAnalysis/must-and-partial.ll
@@ -7,8 +7,9 @@
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
; CHECK: PartialAlias: i16* %bigbase0, i8* %phi
-define i8 @test0(i8* %base, i1 %x) {
+define i8 @test0(i1 %x) {
entry:
+ %base = alloca i8, align 4
%baseplusone = getelementptr i8* %base, i64 1
br i1 %x, label %red, label %green
red:
@@ -25,8 +26,9 @@ green:
}
; CHECK: PartialAlias: i16* %bigbase1, i8* %sel
-define i8 @t...
2015 Jan 14
3
[LLVMdev] question about enabling cfl-aa and collecting a57 numbers
Oh, sorry, i didn't rebase it when i changed the fix, you would have had to
apply the first on top of the second.
Here is one against HEAD
On Wed, Jan 14, 2015 at 12:32 PM, Ana Pazos <apazos at codeaurora.org> wrote:
> Daniel, your patch does not apply cleanly. Are you on the tip?
>
> The code I see there is no line if (QueryResult == MayAlias|| QueryResult == PartialAlias)