mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-03 08:07:51 +00:00
[LLE] Fix typo from r263058
This was meant to check unit stride for both the load and the store. Thanks to Roman Shirokiy for noticing this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268251 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
549d73f230
commit
b75d37fd5a
@ -78,7 +78,7 @@ struct StoreToLoadForwardingCandidate {
|
||||
// able to handle non unit stirde as well as long as the stride is equal to
|
||||
// the dependence distance.
|
||||
if (isStridedPtr(PSE, LoadPtr, L) != 1 ||
|
||||
isStridedPtr(PSE, LoadPtr, L) != 1)
|
||||
isStridedPtr(PSE, StorePtr, L) != 1)
|
||||
return false;
|
||||
|
||||
auto &DL = Load->getParent()->getModule()->getDataLayout();
|
||||
|
Loading…
x
Reference in New Issue
Block a user