Skip to content
Commit 31a0b5e2 authored by Jakob Stoklund Olesen's avatar Jakob Stoklund Olesen
Browse files

Avoid hoisting spills when looking at a copy from another register that is also

about to be spilled.

This can only happen when two extra snippet registers are included in the spill,
and there is a copy between them. Hoisting the spill creates problems because
the hoist will mark the copy for later dead code elimination, and spilling the
second register will turn the copy into a spill.

<rdar://problem/9420853>

llvm-svn: 131192
parent c7c465c5
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