search for: clearbottomuppointers

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

2011 Aug 04
3
[LLVMdev] Multiple one-line bugs in LLVM
...G.isKnownNeverZero(LHS)) Note that there are identical subexpressions '!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 clearBottom...
2011 Aug 04
0
[LLVMdev] Multiple one-line bugs in LLVM
...he '&&' operator. > The second subexpression should probably be !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...