diff --git a/clang/test/Analysis/malloc.c b/clang/test/Analysis/malloc.c index 57f8561a74da6..f2f8975b5f0e2 100644 --- a/clang/test/Analysis/malloc.c +++ b/clang/test/Analysis/malloc.c @@ -1829,7 +1829,7 @@ void testConstEscapeThroughAnotherField(void) { } // no-warning // PR15623 -int testNoCheckerDataPropogationFromLogicalOpOperandToOpResult(void) { +int testNoCheckerDataPropagationFromLogicalOpOperandToOpResult(void) { char *param = malloc(10); char *value = malloc(10); int ok = (param && value); diff --git a/lld/test/Unit/lit.cfg.py b/lld/test/Unit/lit.cfg.py index ffbbddeeed5ec..1cf890a05cb28 100644 --- a/lld/test/Unit/lit.cfg.py +++ b/lld/test/Unit/lit.cfg.py @@ -38,7 +38,7 @@ config.environment["PATH"] = os.path.pathsep.join(( config.shlibdir, config.environment["PATH"])) -# Win32 may use %SYSTEMDRIVE% during file system shell operations, so propogate. +# Win32 may use %SYSTEMDRIVE% during file system shell operations, so propagate. if sys.platform == "win32" and "SYSTEMDRIVE" in os.environ: config.environment["SYSTEMDRIVE"] = os.environ["SYSTEMDRIVE"] diff --git a/llvm/docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt b/llvm/docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt index b546301d35a40..04b40acd0f830 100644 --- a/llvm/docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt +++ b/llvm/docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt @@ -70,7 +70,7 @@ void TestFunction(...) { // execution continues after the try block: the exception is consumed } catch (double) { ...double stuff... - throw; // Exception is propogated + throw; // Exception is propagated } } @@ -83,14 +83,14 @@ Func: %b = alloca B // minor detail for this example B::B(%b) - call foo() with fooCleanup // An exception in foo is propogated to fooCleanup - call bar() with barCleanup // An exception in bar is propogated to barCleanup + call foo() with fooCleanup // An exception in foo is propagated to fooCleanup + call bar() with barCleanup // An exception in bar is propagated to barCleanup %c = alloca C C::C(c) %d = alloca D D::D(d) - call baz() with bazCleanup // An exception in baz is propogated to bazCleanup + call baz() with bazCleanup // An exception in baz is propagated to bazCleanup d->~D(); EndTry: // This label corresponds to the end of the try block c->~C() // These could also throw, these are also ignored diff --git a/llvm/docs/HistoricalNotes/2002-05-12-InstListChange.txt b/llvm/docs/HistoricalNotes/2002-05-12-InstListChange.txt index 638682b49fda0..7962907761964 100644 --- a/llvm/docs/HistoricalNotes/2002-05-12-InstListChange.txt +++ b/llvm/docs/HistoricalNotes/2002-05-12-InstListChange.txt @@ -18,7 +18,7 @@ linear search of the basic block the instruction is contained in... just to insert an instruction before another instruction, or to delete an instruction! This complicates algorithms that should be very simple (like simple constant propagation), because they aren't actually sparse anymore, -they have to traverse basic blocks to remove constant propogated +they have to traverse basic blocks to remove constant propagated instructions. Additionally, adding or removing instructions to a basic block diff --git a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp index adcd0b9213e09..eb45df34771d3 100644 --- a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp +++ b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp @@ -9240,12 +9240,12 @@ struct AAValueConstantRangeReturned : AAReturnedFromReturnedValues { + /* PropagateCallBaseContext */ true> { using Base = AAReturnedFromReturnedValues; + /* PropagateCallBaseContext */ true>; AAValueConstantRangeReturned(const IRPosition &IRP, Attributor &A) : Base(IRP, A) {} diff --git a/llvm/lib/Transforms/IPO/IROutliner.cpp b/llvm/lib/Transforms/IPO/IROutliner.cpp index 20d2d46e79ebc..6cc218e63a012 100644 --- a/llvm/lib/Transforms/IPO/IROutliner.cpp +++ b/llvm/lib/Transforms/IPO/IROutliner.cpp @@ -1513,7 +1513,7 @@ CallInst *replaceCalledFunction(Module &M, OutlinableRegion &Region) { // Transfer any debug information. Call->setDebugLoc(Region.Call->getDebugLoc()); // Since our output may determine which branch we go to, we make sure to - // propogate this new call value through the module. + // propagate this new call value through the module. OldCall->replaceAllUsesWith(Call); // Remove the old instruction. diff --git a/llvm/test/CodeGen/AArch64/i128-fast-isel-fallback.ll b/llvm/test/CodeGen/AArch64/i128-fast-isel-fallback.ll index 80c83bd4823ef..03e296c2b9aa3 100644 --- a/llvm/test/CodeGen/AArch64/i128-fast-isel-fallback.ll +++ b/llvm/test/CodeGen/AArch64/i128-fast-isel-fallback.ll @@ -6,7 +6,7 @@ define void @test1() { call void @test2(i128 %1) ret void -; The i128 is 0 so the we can test to make sure it is propogated into the x +; The i128 is 0 so the we can test to make sure it is propagated into the x ; registers that make up the i128 pair ; CHECK: mov x0, xzr diff --git a/llvm/test/CodeGen/AMDGPU/waitcnt-loop-single-basic-block.mir b/llvm/test/CodeGen/AMDGPU/waitcnt-loop-single-basic-block.mir index 5ff9e8a6c5f4f..3cd27210800c9 100644 --- a/llvm/test/CodeGen/AMDGPU/waitcnt-loop-single-basic-block.mir +++ b/llvm/test/CodeGen/AMDGPU/waitcnt-loop-single-basic-block.mir @@ -1,6 +1,6 @@ # RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass=si-insert-waitcnts -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s -# Check that the waitcnt propogates info in the case of a single basic block loop +# Check that the waitcnt propagates info in the case of a single basic block loop # GCN-LABEL: waitcnt-loop-single-basic-block # GCN: bb.0 diff --git a/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir b/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir index b5b2fe4a463f0..ace5cbf407702 100644 --- a/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir +++ b/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir @@ -1,7 +1,7 @@ --- | ; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - | FileCheck %s -implicit-check-not=DBG_VALUE - ; Check that DBG_VALUE instructions are propogated through a CFG containing + ; Check that DBG_VALUE instructions are propagated through a CFG containing ; a diamond that doesn't move or clobber their locations. ; CHECK-LABEL: bb.0.entry: diff --git a/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir b/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir index 32ab6efa98155..21c2875f32cdf 100644 --- a/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir +++ b/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir @@ -1,7 +1,7 @@ --- | ; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - | FileCheck %s -implicit-check-not=DBG_VALUE - ; Check that DBG_VALUE instructions are only propogated into the top blocks of + ; Check that DBG_VALUE instructions are only propagated into the top blocks of ; a diamond when the location is clobbered and not into the successor block. ; CHECK-LABEL: bb.0.entry: diff --git a/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir b/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir index 4c3747be64706..a8c0fab3374c4 100644 --- a/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir +++ b/llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir @@ -1,7 +1,7 @@ --- | ; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - | FileCheck %s -implicit-check-not=DBG_VALUE - ; Check that DBG_VALUE instructions are propogated correctly through a + ; Check that DBG_VALUE instructions are propagated correctly through a ; diamond CFG when the location is moved by another instruction. ; CHECK-LABEL: bb.0.entry: diff --git a/llvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir b/llvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir index 013d9541516f0..44a1daf45deab 100644 --- a/llvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir +++ b/llvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir @@ -1,7 +1,7 @@ --- | ; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - | FileCheck %s -implicit-check-not=DBG_VALUE - ; Check that DBG_VALUE instructions are not propogated into loops with inner + ; Check that DBG_VALUE instructions are not propagated into loops with inner ; loops that move their locations. ; CHECK-LABEL: bb.0.entry: diff --git a/llvm/test/Transforms/IROutliner/included-phi-nodes-end.ll b/llvm/test/Transforms/IROutliner/included-phi-nodes-end.ll index 0d59a0bec11d8..d36c3dad41b3a 100644 --- a/llvm/test/Transforms/IROutliner/included-phi-nodes-end.ll +++ b/llvm/test/Transforms/IROutliner/included-phi-nodes-end.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --include-generated-funcs ; RUN: opt -S -passes=verify,iroutliner -ir-outlining-no-cost < %s | FileCheck %s -; Show that we are able to propogate inputs to the region into the split PHINode +; Show that we are able to propagate inputs to the region into the split PHINode ; outside of the region if necessary. define void @function1(ptr %a, ptr %b) { diff --git a/llvm/test/Transforms/IROutliner/region-inputs-in-phi-nodes.ll b/llvm/test/Transforms/IROutliner/region-inputs-in-phi-nodes.ll index b87ab4b78d6a4..f46035a883832 100644 --- a/llvm/test/Transforms/IROutliner/region-inputs-in-phi-nodes.ll +++ b/llvm/test/Transforms/IROutliner/region-inputs-in-phi-nodes.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --include-generated-funcs ; RUN: opt -S -passes=verify,iroutliner -ir-outlining-no-cost < %s | FileCheck %s -; Show that we are able to propogate inputs to the region into the split PHINode +; Show that we are able to propagate inputs to the region into the split PHINode ; outside of the region if necessary. define void @function1(ptr %a, ptr %b) { diff --git a/llvm/test/Transforms/InstSimplify/ConstProp/2002-03-11-ConstPropCrash.ll b/llvm/test/Transforms/InstSimplify/ConstProp/2002-03-11-ConstPropCrash.ll index e45f76e7bef12..80374ef7b10be 100644 --- a/llvm/test/Transforms/InstSimplify/ConstProp/2002-03-11-ConstPropCrash.ll +++ b/llvm/test/Transforms/InstSimplify/ConstProp/2002-03-11-ConstPropCrash.ll @@ -1,4 +1,4 @@ -; When constant propogating terminator instructions, the basic block iterator +; When constant propagating terminator instructions, the basic block iterator ; was not updated to refer to the final position of the new terminator. This ; can be bad, f.e. because constproping a terminator can lead to the ; destruction of PHI nodes, which invalidates the iterator! diff --git a/llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-DivideByZeroException.ll b/llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-DivideByZeroException.ll index 683599a74f2a3..e81bfb6cd3b17 100644 --- a/llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-DivideByZeroException.ll +++ b/llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-DivideByZeroException.ll @@ -1,4 +1,4 @@ -; Make sure that the constant propogator doesn't divide by zero! +; Make sure that the constant propagator doesn't divide by zero! ; ; RUN: opt < %s -passes=instsimplify ; diff --git a/llvm/test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll b/llvm/test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll index 95667ebcc9fb2..021af243b4dd6 100644 --- a/llvm/test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll +++ b/llvm/test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll @@ -154,8 +154,8 @@ exit: } ; Check that we can eliminate several dead blocks. -define i32 @dead_block_propogate_test_branch_loop(i32 %end) { -; CHECK-LABEL: @dead_block_propogate_test_branch_loop( +define i32 @dead_block_propagate_test_branch_loop(i32 %end) { +; CHECK-LABEL: @dead_block_propagate_test_branch_loop( ; CHECK-NEXT: preheader: ; CHECK-NEXT: br label [[HEADER:%.*]] ; CHECK: header: @@ -192,8 +192,8 @@ exit: } ; Check that we can eliminate several blocks while removing a switch. -define i32 @dead_block_propogate_test_switch_loop(i32 %end) { -; CHECK-LABEL: @dead_block_propogate_test_switch_loop( +define i32 @dead_block_propagate_test_switch_loop(i32 %end) { +; CHECK-LABEL: @dead_block_propagate_test_switch_loop( ; CHECK-NEXT: preheader: ; CHECK-NEXT: br label [[HEADER:%.*]] ; CHECK: header: diff --git a/llvm/test/Unit/lit.cfg.py b/llvm/test/Unit/lit.cfg.py index f1646d1b894cd..e29fd76bd8dcc 100644 --- a/llvm/test/Unit/lit.cfg.py +++ b/llvm/test/Unit/lit.cfg.py @@ -60,6 +60,6 @@ (config.shlibdir, config.environment["PATH"]) ) -# Win32 may use %SYSTEMDRIVE% during file system shell operations, so propogate. +# Win32 may use %SYSTEMDRIVE% during file system shell operations, so propagate. if sys.platform == "win32" and "SYSTEMDRIVE" in os.environ: config.environment["SYSTEMDRIVE"] = os.environ["SYSTEMDRIVE"] diff --git a/llvm/utils/TableGen/jupyter/tablegen_kernel/kernel.py b/llvm/utils/TableGen/jupyter/tablegen_kernel/kernel.py index f6d3297bd84d8..24554ae86d3b2 100644 --- a/llvm/utils/TableGen/jupyter/tablegen_kernel/kernel.py +++ b/llvm/utils/TableGen/jupyter/tablegen_kernel/kernel.py @@ -308,7 +308,7 @@ def do_execute( except TableGenKernelException as e: return self.send_stderr(str(e)) - # If we cannot find llvm-tblgen, propogate the error to the notebook. + # If we cannot find llvm-tblgen, propagate the error to the notebook. # (in case the user is not able to see the output from the Jupyter server) try: executable = self.get_executable() diff --git a/mlir/lib/Dialect/Tosa/Transforms/TosaInferShapes.cpp b/mlir/lib/Dialect/Tosa/Transforms/TosaInferShapes.cpp index 358353eb955c1..d08d5fea66310 100644 --- a/mlir/lib/Dialect/Tosa/Transforms/TosaInferShapes.cpp +++ b/mlir/lib/Dialect/Tosa/Transforms/TosaInferShapes.cpp @@ -6,7 +6,7 @@ // //===----------------------------------------------------------------------===// // -// Propogate shapes forward along TOSA operations to resolve dynamic shape +// Propagate shapes forward along TOSA operations to resolve dynamic shape // operations. // //===----------------------------------------------------------------------===// diff --git a/mlir/test/Dialect/Linalg/canonicalize.mlir b/mlir/test/Dialect/Linalg/canonicalize.mlir index 5de007b390c51..d8633f7bc5927 100644 --- a/mlir/test/Dialect/Linalg/canonicalize.mlir +++ b/mlir/test/Dialect/Linalg/canonicalize.mlir @@ -272,7 +272,7 @@ func.func @dead_linalg_tensor(%arg0 : tensor<7x7xi32>, %arg1 : tensor<7x7xf32>, // ----- -func.func @propogate_casts(%arg0 : tensor, %arg1 : f32, %arg2 : index, +func.func @propagate_casts(%arg0 : tensor, %arg1 : f32, %arg2 : index, %arg3 : index) -> tensor { %c0 = arith.constant 0 : index %c1 = arith.constant 1 : index @@ -285,7 +285,7 @@ func.func @propogate_casts(%arg0 : tensor, %arg1 : f32, %arg2 : index, %4 = tensor.insert_slice %arg0 into %1[%arg2, %arg3] [%2, %3] [1, 1] : tensor into tensor return %4 : tensor } -// CHECK-LABEL: func @propogate_casts +// CHECK-LABEL: func @propagate_casts // CHECK: %[[INIT:.+]] = tensor.empty // CHECK: %[[FILL:.+]] = linalg.fill ins(%{{.+}}{{.*}}outs(%[[INIT]] // CHECK: %[[INSERTED:.+]] = tensor.insert_slice %{{.+}} into %[[FILL]] diff --git a/mlir/test/Dialect/Tensor/canonicalize.mlir b/mlir/test/Dialect/Tensor/canonicalize.mlir index 693079c3aa2fa..236d2a3e60eb2 100644 --- a/mlir/test/Dialect/Tensor/canonicalize.mlir +++ b/mlir/test/Dialect/Tensor/canonicalize.mlir @@ -2091,8 +2091,8 @@ func.func @fold_expand_shape_from_elements(%arg0: i32) -> tensor<1xi32> { // ----- -// CHECK-LABEL: func @propogate_index_cast -func.func @propogate_index_cast(%arg0: tensor<1xi32>) -> index { +// CHECK-LABEL: func @propagate_index_cast +func.func @propagate_index_cast(%arg0: tensor<1xi32>) -> index { // CHECK: %[[IDX:.+]] = arith.constant 0 // CHECK: %[[EXT:.+]] = tensor.extract %arg0[%[[IDX]]] : tensor<1xi32> // CHECK: %[[CAST:.+]] = arith.index_cast %[[EXT]]