mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Restore the original behavior of SelectionDAG::getTargetIndex().
It looks like an extra negation snuck in as apart of restoring it. llvm-svn: 250726
This commit is contained in:
parent
62bb5a1179
commit
c398b9a4d4
@ -1410,7 +1410,7 @@ SDValue SelectionDAG::getTargetIndex(int Index, EVT VT, int64_t Offset,
|
|||||||
return SDValue(E, 0);
|
return SDValue(E, 0);
|
||||||
|
|
||||||
SDNode *N =
|
SDNode *N =
|
||||||
new (NodeAllocator) TargetIndexSDNode(Index, VT, Offset, -TargetFlags);
|
new (NodeAllocator) TargetIndexSDNode(Index, VT, Offset, TargetFlags);
|
||||||
CSEMap.InsertNode(N, IP);
|
CSEMap.InsertNode(N, IP);
|
||||||
InsertNode(N);
|
InsertNode(N);
|
||||||
return SDValue(N, 0);
|
return SDValue(N, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user