[X86] Fix some incorrect comments. NFC

llvm-svn: 341624
This commit is contained in:
Craig Topper 2018-09-07 01:29:42 +00:00
parent 0dfb84ce9b
commit 13148564d4
1 changed files with 3 additions and 3 deletions

View File

@ -2227,13 +2227,13 @@ static bool isFusableLoadOpStorePattern(StoreSDNode *StoreNode,
SDValue StoredVal, SelectionDAG *CurDAG,
LoadSDNode *&LoadNode,
SDValue &InputChain) {
// is the stored value result 0 of the load?
// Is the stored value result 0 of the operation?
if (StoredVal.getResNo() != 0) return false;
// are there other uses of the loaded value than the inc or dec?
// Are there other uses of the operation other than the store?
if (!StoredVal.getNode()->hasNUsesOfValue(1, 0)) return false;
// is the store non-extending and non-indexed?
// Is the store non-extending and non-indexed?
if (!ISD::isNormalStore(StoreNode) || StoreNode->isNonTemporal())
return false;