From 3bd14877ebb928fe85972d40c0e8c3f635abfed7 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 29 Jul 2014 00:02:40 +0000 Subject: [PATCH] Fix typos / grammar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214147 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCISelLowering.cpp | 6 +++--- lib/Target/R600/SIInstrInfo.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Target/PowerPC/PPCISelLowering.cpp b/lib/Target/PowerPC/PPCISelLowering.cpp index 537b80fa8fb..da15803f210 100644 --- a/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/lib/Target/PowerPC/PPCISelLowering.cpp @@ -7591,9 +7591,9 @@ static bool isConsecutiveLS(LSBaseSDNode *LS, LSBaseSDNode *Base, // 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 -// token factors and other loads (but nothing else). As a result, a true -// results indicates that it is safe to create a new consecutive load adjacent -// to the load provided. +// token factors and other loads (but nothing else). As a result, a true result +// indicates that it is safe to create a new consecutive load adjacent to the +// load provided. static bool findConsecutiveLoad(LoadSDNode *LD, SelectionDAG &DAG) { SDValue Chain = LD->getChain(); EVT VT = LD->getMemoryVT(); diff --git a/lib/Target/R600/SIInstrInfo.cpp b/lib/Target/R600/SIInstrInfo.cpp index 4aea68d5c35..872b7cef859 100644 --- a/lib/Target/R600/SIInstrInfo.cpp +++ b/lib/Target/R600/SIInstrInfo.cpp @@ -466,7 +466,7 @@ SIInstrInfo::isTriviallyReMaterializable(const MachineInstr *MI, namespace llvm { namespace AMDGPU { // 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); } } -- 2.34.1