Skip to content
Commit 924279ca authored by Jakob Stoklund Olesen's avatar Jakob Stoklund Olesen
Browse files

Only erase virtregs with no uses left.

Also make sure registers aren't erased twice if the dead def mentions
the register twice.

This fixes PR12911.

llvm-svn: 157254
parent 6f970e84
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