[BOLT] Process each block only once in fixCFGForPIC
Rather than iterating over the whole function from the start until no internal calls are found, process each block only once and continue processing after splitting. This version of the function also does not seemingly invalidate iterators from within the loop. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D130436
parent
1d23f6c5
Please register or sign in to comment