Skip to content

Commit ae17900

Browse files
committed
[NFC] fix trivial typos in document and comments
"not not" -> "not" etc llvm-svn: 330083
1 parent b6efb90 commit ae17900

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class AMDGPUMachineFunction : public MachineFunctionInfo {
3030
/// Start of implicit kernel args
3131
unsigned ABIArgOffset;
3232

33-
// Kernels + shaders. i.e. functions called by the driver and not not called
33+
// Kernels + shaders. i.e. functions called by the driver and not called
3434
// by other functions.
3535
bool IsEntryFunction;
3636

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22371,7 +22371,7 @@ static SDValue LowerABS(SDValue Op, SelectionDAG &DAG) {
2237122371
static SDValue LowerMINMAX(SDValue Op, SelectionDAG &DAG) {
2237222372
MVT VT = Op.getSimpleValueType();
2237322373

22374-
// For AVX1 cases, split to use use legal ops (everything but v4i64).
22374+
// For AVX1 cases, split to use legal ops (everything but v4i64).
2237522375
if (VT.getScalarType() != MVT::i64 && VT.is256BitVector())
2237622376
return Lower256IntArith(Op, DAG);
2237722377

llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ class PGOUseFunc {
862862
// Set the branch weights based on the count values.
863863
void setBranchWeights();
864864

865-
// Annotate the value profile call sites all all value kind.
865+
// Annotate the value profile call sites for all value kind.
866866
void annotateValueSites();
867867

868868
// Annotate the value profile call sites for one value kind.

llvm/lib/Transforms/Scalar/MergeICmps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ bool BCECmpBlock::doesOtherWork() const {
231231
DenseSet<Instruction *> BlockInsts(
232232
{Lhs_.GEP, Rhs_.GEP, Lhs_.LoadI, Rhs_.LoadI, CmpI, BranchI});
233233
// TODO(courbet): Can we allow some other things ? This is very conservative.
234-
// We might be able to get away with anything does does not have any side
234+
// We might be able to get away with anything does not have any side
235235
// effects outside of the basic block.
236236
// Note: The GEPs and/or loads are not necessarily in the same block.
237237
for (const Instruction &Inst : *BB) {

0 commit comments

Comments
 (0)