Unverified Commit 8d6e867e authored by Patrick O'Neill's avatar Patrick O'Neill Committed by GitHub
Browse files

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



If the phi node found by matchSimpleRecurrence is not from the current
loop, then isAlmostDeadIV panics. With this patch we bail out early.

Signed-off-by: default avatarPatrick O'Neill <patrick@rivosinc.com>

---------

Signed-off-by: default avatarPatrick O'Neill <patrick@rivosinc.com>
parent bdfebc31
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment