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:
fc5b1ab
)
Fix a obscure post-indexed load / store dag combine bug.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 8 Nov 2006 02:38:55 +0000
(
02:38
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 8 Nov 2006 02:38:55 +0000
(
02:38
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31537
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index dfa469494f9d09581f5a8479557a8bb812dd811f..d8e2027d11acc8553b4b57aa517aa36031387ce5 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@
-338,7
+338,7
@@
namespace {
SDOperand Offset;
ISD::MemOpAddrMode AM = ISD::UNINDEXED;
if (TLI.getPostIndexedAddressParts(Op, VT, BasePtr, Offset, AM,DAG) &&
- BasePtr
.Val == Ptr.Val
) {
+ BasePtr
== Ptr
) {
// Try turning it into a post-indexed load / store except when
// 1) Op must be independent of N, i.e. Op is neither a predecessor
// nor a successor of N. Otherwise, if Op is folded that would