summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2015-10-19 19:27:40 +0000
committerOwen Anderson <resistor@mac.com>2015-10-19 19:27:40 +0000
commitfaf5187ee087b8cdcca3a7464d0e22da6d5091e6 (patch)
tree1c68bd8fa14a93c477dffe836722a1c1ecd2e43e /llvm/lib/CodeGen/SelectionDAG
parentd64430472d57f38fcb82ee4483f2e0ba088fde45 (diff)
downloadbcm5719-llvm-faf5187ee087b8cdcca3a7464d0e22da6d5091e6.tar.gz
bcm5719-llvm-faf5187ee087b8cdcca3a7464d0e22da6d5091e6.zip
Restore the original behavior of SelectionDAG::getTargetIndex().
It looks like an extra negation snuck in as apart of restoring it. llvm-svn: 250726
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index bd948f5b5d0..a541a85a82d 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -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);
OpenPOWER on IntegriCloud