Unverified Commit a700a520 authored by Skwoogey's avatar Skwoogey Committed by GitHub
Browse files

[InterleavedAccessPass] Avoid optimizing load instructions if it has dead binop users (#71339)

If a load instruction qualifies to be optimized by InterleavedAccess
Pass, but also has a dead binop instruction, this will lead to a crash.

Binop instruction will not be deleted, because normally it would be
deleted through its' users, but it has none. Later on deleting a load
instruction will fail because it still has uses.
parent 4d9f3ca7
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