mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-12 05:40:30 +00:00
Restore the original behavior of SelectionDAG::getTargetIndex().
It looks like an extra negation snuck in as apart of restoring it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
62297b167d
commit
5078875c56
@ -1410,7 +1410,7 @@ SDValue SelectionDAG::getTargetIndex(int Index, EVT VT, int64_t Offset,
|
||||
return SDValue(E, 0);
|
||||
|
||||
SDNode *N =
|
||||
new (NodeAllocator) TargetIndexSDNode(Index, VT, Offset, -TargetFlags);
|
||||
new (NodeAllocator) TargetIndexSDNode(Index, VT, Offset, TargetFlags);
|
||||
CSEMap.InsertNode(N, IP);
|
||||
InsertNode(N);
|
||||
return SDValue(N, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user