Skip to content
Commit c4687889 authored by greg-lunarg's avatar greg-lunarg Committed by Steven Perron
Browse files

Fix ADCE to treat OpUnreachable correctly during liveness analysis (#1984)

ADCE liveness algorithm should treat OpUnreachable at least like other
branch instructions. It was being treated as always live which was
preventing useless structured constructs from being eliminated.
OpUnreachable is generated by dead branch elimination which is now
being required by merge return, so this fix should accompany that
change.
parent 0e68bb36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment