search for: cleartopdownpointers

Displaying 2 results from an estimated 2 matches for "cleartopdownpointers".

2011 Aug 04
3
[LLVMdev] Multiple one-line bugs in LLVM
...pressions '!DAG.isKnownNeverZero (LHS)' to the left and to the right of the '&&' operator. The second subexpression should probably be !DAG.isKnownNeverZero(RHS)). ---- lib/Transforms/Scalar/ObjCARC.cpp:1138 void clearBottomUpPointers() {     PerPtrTopDown.clear(); } void clearTopDownPointers() {     PerPtrTopDown.clear(); } Note that the body of 'clearTopDownPointers' function is fully equivalent to the body of 'clearBottomUpPointers' function. The advised solution is to change this code into void clearBottomUpPointers() {     PerPtrBottomUp.clear(); } ---- lib/Anal...
2011 Aug 04
0
[LLVMdev] Multiple one-line bugs in LLVM
...e !DAG.isKnownNeverZero(RHS)). a patch fixing this was posted by Ivan Krasin. It seems correct, but is waiting on someone writing a testcase. > > ---- > > lib/Transforms/Scalar/ObjCARC.cpp:1138 > void clearBottomUpPointers() { > PerPtrTopDown.clear(); > } > > void clearTopDownPointers() { > PerPtrTopDown.clear(); > } > > Note that the body of 'clearTopDownPointers' function is fully equivalent to > the body of 'clearBottomUpPointers' function. The advised solution is to change > this code into > > void clearBottomUpPointers() { >...