search for: endswithsequenti

Displaying 1 result from an estimated 1 matches for "endswithsequenti".

Did you mean: endswithsequential
2009 Apr 17
0
[LLVMdev] llvm-ld (instruction combine) breaking for this test.
...39;t know exactly how instrcombine works, but looks like it is trying to combine two GEPs into one, and while creating the new one it is passing i16 as type of index args. (as PointerWidth on pic16 is i16). // Find out whether the last index in the source GEP is a sequential idx. bool EndsWithSequential = false; for (gep_type_iterator I = gep_type_begin(*cast<User>(PtrOp)), E = gep_type_end(*cast<User>(PtrOp)); I != E; ++I) EndsWithSequential = ! isa<StructType>(*I); // Can we combine the two pointer arithmetics offsets? if (EndsWithSequential) {...