mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Use getVNInfoAt.
llvm-svn: 134312
This commit is contained in:
parent
4d72701c7e
commit
cf67208057
@ -1253,8 +1253,7 @@ static bool RegistersDefinedFromSameValue(LiveIntervals &li,
|
|||||||
|
|
||||||
// If the copies use two different value numbers of X, we cannot merge
|
// If the copies use two different value numbers of X, we cannot merge
|
||||||
// A and B.
|
// A and B.
|
||||||
if (SrcInt.FindLiveRangeContaining(Other->def)->valno !=
|
if (SrcInt.getVNInfoAt(Other->def) != SrcInt.getVNInfoAt(VNI->def))
|
||||||
SrcInt.FindLiveRangeContaining(VNI->def)->valno)
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
DupCopies.push_back(MI);
|
DupCopies.push_back(MI);
|
||||||
|
Loading…
Reference in New Issue
Block a user