Skip to content
Commit 28792c4a authored by Jakob Stoklund Olesen's avatar Jakob Stoklund Olesen
Browse files

When RemoveCopyByCommutingDef is creating additional identity copies, just use

LiveInterval::MergeValueNumberInto instead of trying to extend LiveRanges and
getting it wrong.

This fixed PR8249 where a valno with a multi-segment live range was defined by
an identity copy created by RemoveCopyByCommutingDef. Some of the live
segments disappeared.

llvm-svn: 115385
parent 8fd5b3c0
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