projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62297b1
)
Restore the original behavior of SelectionDAG::getTargetIndex().
author
Owen Anderson
<resistor@mac.com>
Mon, 19 Oct 2015 19:27:40 +0000
(19:27 +0000)
committer
Owen Anderson
<resistor@mac.com>
Mon, 19 Oct 2015 19:27:40 +0000
(19:27 +0000)
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
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index bd948f5b5d0ea6c1a272ed004375b3fbeec7000e..a541a85a82d82121627138b93cabc154f9cfdfff 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/
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);