search for: getmaxbackedgetakencount

Displaying 7 results from an estimated 7 matches for "getmaxbackedgetakencount".

2010 Nov 23
5
[LLVMdev] how to eliminate dead infinite loops?
Most of my programs contain loops that the LoopDeletion pass is unable to remove. It appears that the following code in LoopDeletion.cpp:152 is the culprit: ScalarEvolution& SE = getAnalysis<ScalarEvolution>(); const SCEV *S = SE.getMaxBackedgeTakenCount(L); if (isa<SCEVCouldNotCompute>(S)) return Changed; So, LoopDeletion thinks my loops might be infinite so it does not delete them - even if they do not write to any of the function return values. Is there a way to flag a loop as non-infinite? Or will I need to create my own mod...
2010 Nov 24
0
[LLVMdev] how to eliminate dead infinite loops?
...drew Clinton wrote: > Most of my programs contain loops that the LoopDeletion pass is unable > to remove. It appears that the following code in LoopDeletion.cpp:152 > is the culprit: > > ScalarEvolution& SE = getAnalysis<ScalarEvolution>(); > const SCEV *S = SE.getMaxBackedgeTakenCount(L); > if (isa<SCEVCouldNotCompute>(S)) > return Changed; > > So, LoopDeletion thinks my loops might be infinite so it does not delete > them - even if they do not write to any of the function return values. > Is there a way to flag a loop as non-infinite? Or will...
2010 Nov 24
0
[LLVMdev] how to eliminate dead infinite loops?
...ndrew Clinton wrote: > Most of my programs contain loops that the LoopDeletion pass is unable > to remove. It appears that the following code in LoopDeletion.cpp:152 > is the culprit: > > ScalarEvolution& SE = getAnalysis<ScalarEvolution>(); > const SCEV *S = SE.getMaxBackedgeTakenCount(L); > if (isa<SCEVCouldNotCompute>(S)) > return Changed; > > So, LoopDeletion thinks my loops might be infinite so it does not delete > them - even if they do not write to any of the function return values. > Is there a way to flag a loop as non-infinite? Or will...
2010 Nov 25
3
[LLVMdev] how to eliminate dead infinite loops?
...t;> Most of my programs contain loops that the LoopDeletion pass is unable >> to remove. It appears that the following code in LoopDeletion.cpp:152 >> is the culprit: >> >> ScalarEvolution& SE = getAnalysis<ScalarEvolution>(); >> const SCEV *S = SE.getMaxBackedgeTakenCount(L); >> if (isa<SCEVCouldNotCompute>(S)) >> return Changed; >> >> So, LoopDeletion thinks my loops might be infinite so it does not delete >> them - even if they do not write to any of the function return values. >> Is there a way to flag a loop as n...
2010 Nov 26
0
[LLVMdev] how to eliminate dead infinite loops?
...ams contain loops that the LoopDeletion pass is unable >>> to remove. It appears that the following code in LoopDeletion.cpp:152 >>> is the culprit: >>> >>> ScalarEvolution& SE = getAnalysis<ScalarEvolution>(); >>> const SCEV *S = SE.getMaxBackedgeTakenCount(L); >>> if (isa<SCEVCouldNotCompute>(S)) >>> return Changed; >>> >>> So, LoopDeletion thinks my loops might be infinite so it does not delete >>> them - even if they do not write to any of the function return values. >>> Is there...
2010 Nov 24
2
[LLVMdev] how to eliminate dead infinite loops?
...> Most of my programs contain loops that the LoopDeletion pass is unable >> to remove. It appears that the following code in LoopDeletion.cpp:152 >> is the culprit: >> >> ScalarEvolution& SE = getAnalysis<ScalarEvolution>(); >> const SCEV *S = SE.getMaxBackedgeTakenCount(L); >> if (isa<SCEVCouldNotCompute>(S)) >> return Changed; >> >> So, LoopDeletion thinks my loops might be infinite so it does not delete >> them - even if they do not write to any of the function return values. >> Is there a way to flag a loop as...
2010 Nov 26
1
[LLVMdev] how to eliminate dead infinite loops?
...the LoopDeletion pass is unable >>>> to remove. It appears that the following code in LoopDeletion.cpp:152 >>>> is the culprit: >>>> >>>> ScalarEvolution& SE = getAnalysis<ScalarEvolution>(); >>>> const SCEV *S = SE.getMaxBackedgeTakenCount(L); >>>> if (isa<SCEVCouldNotCompute>(S)) >>>> return Changed; >>>> >>>> So, LoopDeletion thinks my loops might be infinite so it does not delete >>>> them - even if they do not write to any of the function return values....