Skip to content

Commit d6c848d

Browse files
Remove assert that fails when building blender_r
This asserts fails because the order of the store/loads are reversed prior to the check, if we can rotate the loads.
1 parent a88e73b commit d6c848d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21157,9 +21157,6 @@ bool DAGCombiner::checkMergeStoreCandidatesForDependencies(
2115721157
}
2115821158

2115921159
bool DAGCombiner::hasCallInLdStChain(StoreSDNode *St, LoadSDNode *Ld) {
21160-
assert(Ld == cast<LoadSDNode>(peekThroughBitcasts(St->getValue())) &&
21161-
"Load and store mismatch");
21162-
2116321160
SmallPtrSet<const SDNode *, 32> Visited;
2116421161
SmallVector<std::pair<const SDNode *, bool>, 8> Worklist;
2116521162
Worklist.emplace_back(St->getChain().getNode(), false);

0 commit comments

Comments
 (0)