Skip to content
Commit 3af28945 authored by Karthik Bhat's avatar Karthik Bhat
Browse files

Fix PR24469 resulting from r245025 and re-enable dead store elimination across basicblocks.

PR24469 resulted because DeleteDeadInstruction in handleNonLocalStoreDeletion was
deleting the next basic block iterator. Fixed the same by resetting the basic block iterator
post call to DeleteDeadInstruction.

llvm-svn: 245195
parent 8ed559ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment