[llvm] [LSR][term-fold] Ensure the simple recurrence is reachable from the current loop (PR #83085)

Patrick O'Neill via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 14:02:53 PST 2024


================
@@ -6811,7 +6811,7 @@ canFoldTermCondOfLoop(Loop *L, ScalarEvolution &SE, DominatorTree &DT,
   // If ToFold does not have an incoming value from LoopLatch then the simple
----------------
patrick-rivos wrote:

Updated comment and order of comparison to match the new comment.

Also updated PR message to be the squashed commit message.

https://github.com/llvm/llvm-project/pull/83085


More information about the llvm-commits mailing list