search for: bytevalues

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

2011 Aug 04
3
[LLVMdev] Multiple one-line bugs in LLVM
...BO->hasNoUnsignedWrap()' to the left and to the right of the '&&' operator. Looks like the correct code is     bool NUW = LBO->hasNoUnsignedWrap() && RBO->hasNoUnsignedWrap(); ---- lib/Transforms/InstCombine/InstCombineAndOrXor.cpp:1384   if (InputByteNo < ByteValues.size()/2) {     if (ByteValues.size()-1-DestByteNo != InputByteNo)       return true;   } else {     if (ByteValues.size()-1-DestByteNo != InputByteNo)       return true;   } Note that 'then' and 'else' are the same. It can be a problem or can not. ---- lib/Target/X86/InstPrinter...
2011 Aug 04
0
[LLVMdev] Multiple one-line bugs in LLVM
...s like the correct code is > > bool NUW = LBO->hasNoUnsignedWrap()&& RBO->hasNoUnsignedWrap(); That is correct. Ivan sent a patch for this too and I applied it. > > ---- > > lib/Transforms/InstCombine/InstCombineAndOrXor.cpp:1384 > if (InputByteNo< ByteValues.size()/2) { > if (ByteValues.size()-1-DestByteNo != InputByteNo) > return true; > } else { > if (ByteValues.size()-1-DestByteNo != InputByteNo) > return true; > } > > Note that 'then' and 'else' are the same. It can be a problem...