search for: exitbr

Displaying 9 results from an estimated 9 matches for "exitbr".

2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
Attached 2012/2/8 Marcello Maggioni <hayarms at gmail.com>: > Mmm, sorry, the patch I posted crashes if ExitBr is null (which it may > be ...) , this one should be ok (and passess all the ScalarEvolution > tests in LLVM): > > diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp > index daf7742..b10fab2 100644 > --- a/lib/Analysis/ScalarEvolution.cpp > +++ b/l...
2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...42..fcbaffe 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -4293,6 +4293,11 @@ ScalarEvolution::ComputeExitLimit(const Loop *L, BasicBlock *ExitingBlock) { // // FIXME: we should be able to handle switch instructions (with a single exit) BranchInst *ExitBr = dyn_cast<BranchInst>(ExitingBlock->getTerminator()); + BranchInst* BrFirstSucc = dyn_cast<BranchInst>(ExitBr-> + getSuccessor(0)->getTerminator()); + BranchInst* BrSecondSucc = dyn_cast<BranchInst>(ExitBr-> +...
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
Mmm, sorry, the patch I posted crashes if ExitBr is null (which it may be ...) , this one should be ok (and passess all the ScalarEvolution tests in LLVM): diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index daf7742..b10fab2 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@...
2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...es isn't indented > properly. > > Nick > > On 8 February 2012 12:05, Marcello Maggioni <hayarms at gmail.com> wrote: >> >> Attached >> >> 2012/2/8 Marcello Maggioni <hayarms at gmail.com>: >> > Mmm, sorry, the patch I posted crashes if ExitBr is null (which it may >> > be ...) , this one should be ok (and passess all the ScalarEvolution >> > tests in LLVM): >> > >> > diff --git a/lib/Analysis/ScalarEvolution.cpp >> > b/lib/Analysis/ScalarEvolution.cpp >> > index daf7742..b10fab2 1006...
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...the // in your comments. One of the comment lines isn't indented properly. Nick On 8 February 2012 12:05, Marcello Maggioni <hayarms at gmail.com> wrote: > Attached > > 2012/2/8 Marcello Maggioni <hayarms at gmail.com>: > > Mmm, sorry, the patch I posted crashes if ExitBr is null (which it may > > be ...) , this one should be ok (and passess all the ScalarEvolution > > tests in LLVM): > > > > diff --git a/lib/Analysis/ScalarEvolution.cpp > b/lib/Analysis/ScalarEvolution.cpp > > index daf7742..b10fab2 100644 > > --- a/lib/Analys...
2012 Feb 09
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...t; >> > On 8 February 2012 12:05, Marcello Maggioni <hayarms at gmail.com> wrote: >> >> >> >> Attached >> >> >> >> 2012/2/8 Marcello Maggioni <hayarms at gmail.com>: >> >> > Mmm, sorry, the patch I posted crashes if ExitBr is null (which it >> >> > may >> >> > be ...) , this one should be ok (and passess all the ScalarEvolution >> >> > tests in LLVM): >> >> > >> >> > diff --git a/lib/Analysis/ScalarEvolution.cpp >> >> > b/lib/An...
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...; > > Nick > > > > On 8 February 2012 12:05, Marcello Maggioni <hayarms at gmail.com> wrote: > >> > >> Attached > >> > >> 2012/2/8 Marcello Maggioni <hayarms at gmail.com>: > >> > Mmm, sorry, the patch I posted crashes if ExitBr is null (which it may > >> > be ...) , this one should be ok (and passess all the ScalarEvolution > >> > tests in LLVM): > >> > > >> > diff --git a/lib/Analysis/ScalarEvolution.cpp > >> > b/lib/Analysis/ScalarEvolution.cpp > >> &g...
2012 Feb 09
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...8 February 2012 12:05, Marcello Maggioni <hayarms at gmail.com> wrote: >>> >> >>> >> Attached >>> >> >>> >> 2012/2/8 Marcello Maggioni <hayarms at gmail.com>: >>> >> > Mmm, sorry, the patch I posted crashes if ExitBr is null (which it >>> >> > may >>> >> > be ...) , this one should be ok (and passess all the ScalarEvolution >>> >> > tests in LLVM): >>> >> > >>> >> > diff --git a/lib/Analysis/ScalarEvolution.cpp >>&gt...
2012 Feb 09
1
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
...5, Marcello Maggioni <hayarms at gmail.com> wrote: >>>> >> >>>> >> Attached >>>> >> >>>> >> 2012/2/8 Marcello Maggioni <hayarms at gmail.com>: >>>> >> > Mmm, sorry, the patch I posted crashes if ExitBr is null (which it >>>> >> > may >>>> >> > be ...) , this one should be ok (and passess all the ScalarEvolution >>>> >> > tests in LLVM): >>>> >> > >>>> >> > diff --git a/lib/Analysis/ScalarEvolu...