llvm.org GIT mirror llvm / ee0313b
[lanai] Exit early in Mem Alu combiner if sentinel reach. LanaiMemAluCombiner could try to query the debug value of a list sentinel. Add check to exit early instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279497 91177308-0d34-0410-b5e6-96231b3b80d8 Jacques Pienaar 3 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
338338 while (First != Last) {
339339 Decrement ? --First : ++First;
340340
341 if (First == Last)
342 break;
343
341344 // Skip over debug instructions
342345 if (First->isDebugValue())
343346 continue;