Skip to content
Commit aac35b3f authored by Eli Friedman's avatar Eli Friedman
Browse files

PR9420; an instruction before an unreachable is guaranteed not to have any

reachable uses, but there still might be uses in dead blocks.  Use the
standard solution of replacing all the uses with undef.  This is
a rare case because it's very sensitive to phase ordering in SimplifyCFG.

llvm-svn: 127299
parent 4fa0f304
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