diff options
author | Owen Anderson <resistor@mac.com> | 2015-10-19 19:27:40 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2015-10-19 19:27:40 +0000 |
commit | faf5187ee087b8cdcca3a7464d0e22da6d5091e6 (patch) | |
tree | 1c68bd8fa14a93c477dffe836722a1c1ecd2e43e /llvm/lib/CodeGen/SelectionDAG | |
parent | d64430472d57f38fcb82ee4483f2e0ba088fde45 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |