[GISel] Don't fold convergent instruction across CFG
Before merging two instructions together, GISel does some sanity checks that the folding is legal. However that check was missing that the source of the pattern may be convergent. When the destination location is in a different basic block, the folding is invalid. Differential Revision: https://reviews.llvm.org/D128539
parent
6213dba1
Please register or sign in to comment