[llvm] r341624 - [X86] Fix some incorrect comments. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 6 18:29:42 PDT 2018
Author: ctopper
Date: Thu Sep 6 18:29:42 2018
New Revision: 341624
URL: http://llvm.org/viewvc/llvm-project?rev=341624&view=rev
Log:
[X86] Fix some incorrect comments. NFC
Modified:
llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp?rev=341624&r1=341623&r2=341624&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelDAGToDAG.cpp Thu Sep 6 18:29:42 2018
@@ -2227,13 +2227,13 @@ static bool isFusableLoadOpStorePattern(
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;
More information about the llvm-commits
mailing list