[PowerPC] Check if the latch block is in the value list for the PHI before get the incoming value.
Summary: Fixes #60990. There is a crash reported during Running pass 'Prepare loop for ppc preferred instruction forms'. The crash occurs in 32bit PowerPC. Reviewed By: shchenz Differential Revision: https://reviews.llvm.org/D145350
Loading
Please register or sign in to comment