Fix typos / grammar.

llvm-svn: 214147
This commit is contained in:
Matt Arsenault 2014-07-29 00:02:40 +00:00
parent 60bd28cefd
commit 57e74d2010
2 changed files with 4 additions and 4 deletions

View File

@ -7591,9 +7591,9 @@ static bool isConsecutiveLS(LSBaseSDNode *LS, LSBaseSDNode *Base,
// Return true is there is a nearyby consecutive load to the one provided // Return true is there is a nearyby consecutive load to the one provided
// (regardless of alignment). We search up and down the chain, looking though // (regardless of alignment). We search up and down the chain, looking though
// token factors and other loads (but nothing else). As a result, a true // token factors and other loads (but nothing else). As a result, a true result
// results indicates that it is safe to create a new consecutive load adjacent // indicates that it is safe to create a new consecutive load adjacent to the
// to the load provided. // load provided.
static bool findConsecutiveLoad(LoadSDNode *LD, SelectionDAG &DAG) { static bool findConsecutiveLoad(LoadSDNode *LD, SelectionDAG &DAG) {
SDValue Chain = LD->getChain(); SDValue Chain = LD->getChain();
EVT VT = LD->getMemoryVT(); EVT VT = LD->getMemoryVT();

View File

@ -466,7 +466,7 @@ SIInstrInfo::isTriviallyReMaterializable(const MachineInstr *MI,
namespace llvm { namespace llvm {
namespace AMDGPU { namespace AMDGPU {
// Helper function generated by tablegen. We are wrapping this with // Helper function generated by tablegen. We are wrapping this with
// an SIInstrInfo function that reutrns bool rather than int. // an SIInstrInfo function that returns bool rather than int.
int isDS(uint16_t Opcode); int isDS(uint16_t Opcode);
} }
} }