Skip to content

Commit f855975

Browse files
authored
[llvm-project] Fix typo "propogate" (#114795)
1 parent a58c3d3 commit f855975

22 files changed

+31
-31
lines changed

clang/test/Analysis/malloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ void testConstEscapeThroughAnotherField(void) {
18291829
} // no-warning
18301830

18311831
// PR15623
1832-
int testNoCheckerDataPropogationFromLogicalOpOperandToOpResult(void) {
1832+
int testNoCheckerDataPropagationFromLogicalOpOperandToOpResult(void) {
18331833
char *param = malloc(10);
18341834
char *value = malloc(10);
18351835
int ok = (param && value);

lld/test/Unit/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
config.environment["PATH"] = os.path.pathsep.join((
3939
config.shlibdir, config.environment["PATH"]))
4040

41-
# Win32 may use %SYSTEMDRIVE% during file system shell operations, so propogate.
41+
# Win32 may use %SYSTEMDRIVE% during file system shell operations, so propagate.
4242
if sys.platform == "win32" and "SYSTEMDRIVE" in os.environ:
4343
config.environment["SYSTEMDRIVE"] = os.environ["SYSTEMDRIVE"]
4444

llvm/docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void TestFunction(...) {
7070
// execution continues after the try block: the exception is consumed
7171
} catch (double) {
7272
...double stuff...
73-
throw; // Exception is propogated
73+
throw; // Exception is propagated
7474
}
7575
}
7676

@@ -83,14 +83,14 @@ Func:
8383
%b = alloca B // minor detail for this example
8484
B::B(%b)
8585

86-
call foo() with fooCleanup // An exception in foo is propogated to fooCleanup
87-
call bar() with barCleanup // An exception in bar is propogated to barCleanup
86+
call foo() with fooCleanup // An exception in foo is propagated to fooCleanup
87+
call bar() with barCleanup // An exception in bar is propagated to barCleanup
8888

8989
%c = alloca C
9090
C::C(c)
9191
%d = alloca D
9292
D::D(d)
93-
call baz() with bazCleanup // An exception in baz is propogated to bazCleanup
93+
call baz() with bazCleanup // An exception in baz is propagated to bazCleanup
9494
d->~D();
9595
EndTry: // This label corresponds to the end of the try block
9696
c->~C() // These could also throw, these are also ignored

llvm/docs/HistoricalNotes/2002-05-12-InstListChange.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ linear search of the basic block the instruction is contained in... just
1818
to insert an instruction before another instruction, or to delete an
1919
instruction! This complicates algorithms that should be very simple (like
2020
simple constant propagation), because they aren't actually sparse anymore,
21-
they have to traverse basic blocks to remove constant propogated
21+
they have to traverse basic blocks to remove constant propagated
2222
instructions.
2323

2424
Additionally, adding or removing instructions to a basic block

llvm/lib/Transforms/IPO/AttributorAttributes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9240,12 +9240,12 @@ struct AAValueConstantRangeReturned
92409240
: AAReturnedFromReturnedValues<AAValueConstantRange,
92419241
AAValueConstantRangeImpl,
92429242
AAValueConstantRangeImpl::StateType,
9243-
/* PropogateCallBaseContext */ true> {
9243+
/* PropagateCallBaseContext */ true> {
92449244
using Base =
92459245
AAReturnedFromReturnedValues<AAValueConstantRange,
92469246
AAValueConstantRangeImpl,
92479247
AAValueConstantRangeImpl::StateType,
9248-
/* PropogateCallBaseContext */ true>;
9248+
/* PropagateCallBaseContext */ true>;
92499249
AAValueConstantRangeReturned(const IRPosition &IRP, Attributor &A)
92509250
: Base(IRP, A) {}
92519251

llvm/lib/Transforms/IPO/IROutliner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ CallInst *replaceCalledFunction(Module &M, OutlinableRegion &Region) {
15131513
// Transfer any debug information.
15141514
Call->setDebugLoc(Region.Call->getDebugLoc());
15151515
// Since our output may determine which branch we go to, we make sure to
1516-
// propogate this new call value through the module.
1516+
// propagate this new call value through the module.
15171517
OldCall->replaceAllUsesWith(Call);
15181518

15191519
// Remove the old instruction.

llvm/test/CodeGen/AArch64/i128-fast-isel-fallback.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ define void @test1() {
66
call void @test2(i128 %1)
77
ret void
88

9-
; The i128 is 0 so the we can test to make sure it is propogated into the x
9+
; The i128 is 0 so the we can test to make sure it is propagated into the x
1010
; registers that make up the i128 pair
1111

1212
; CHECK: mov x0, xzr

llvm/test/CodeGen/AMDGPU/waitcnt-loop-single-basic-block.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass=si-insert-waitcnts -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s
22

3-
# Check that the waitcnt propogates info in the case of a single basic block loop
3+
# Check that the waitcnt propagates info in the case of a single basic block loop
44

55
# GCN-LABEL: waitcnt-loop-single-basic-block
66
# GCN: bb.0

llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--- |
22
; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - | FileCheck %s -implicit-check-not=DBG_VALUE
33

4-
; Check that DBG_VALUE instructions are propogated through a CFG containing
4+
; Check that DBG_VALUE instructions are propagated through a CFG containing
55
; a diamond that doesn't move or clobber their locations.
66

77
; CHECK-LABEL: bb.0.entry:

llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_clobber.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--- |
22
; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - | FileCheck %s -implicit-check-not=DBG_VALUE
33

4-
; Check that DBG_VALUE instructions are only propogated into the top blocks of
4+
; Check that DBG_VALUE instructions are only propagated into the top blocks of
55
; a diamond when the location is clobbered and not into the successor block.
66

77
; CHECK-LABEL: bb.0.entry:

llvm/test/DebugInfo/MIR/X86/livedebugvalues_basic_diamond_match_move.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--- |
22
; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - | FileCheck %s -implicit-check-not=DBG_VALUE
33

4-
; Check that DBG_VALUE instructions are propogated correctly through a
4+
; Check that DBG_VALUE instructions are propagated correctly through a
55
; diamond CFG when the location is moved by another instruction.
66

77
; CHECK-LABEL: bb.0.entry:

llvm/test/DebugInfo/MIR/X86/livedebugvalues_loop_within_loop_outer_moved.mir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--- |
22
; RUN: llc %s -march=x86-64 -run-pass=livedebugvalues -o - | FileCheck %s -implicit-check-not=DBG_VALUE
33

4-
; Check that DBG_VALUE instructions are not propogated into loops with inner
4+
; Check that DBG_VALUE instructions are not propagated into loops with inner
55
; loops that move their locations.
66

77
; CHECK-LABEL: bb.0.entry:

llvm/test/Transforms/IROutliner/included-phi-nodes-end.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --include-generated-funcs
22
; RUN: opt -S -passes=verify,iroutliner -ir-outlining-no-cost < %s | FileCheck %s
33

4-
; Show that we are able to propogate inputs to the region into the split PHINode
4+
; Show that we are able to propagate inputs to the region into the split PHINode
55
; outside of the region if necessary.
66

77
define void @function1(ptr %a, ptr %b) {

llvm/test/Transforms/IROutliner/region-inputs-in-phi-nodes.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --include-generated-funcs
22
; RUN: opt -S -passes=verify,iroutliner -ir-outlining-no-cost < %s | FileCheck %s
33

4-
; Show that we are able to propogate inputs to the region into the split PHINode
4+
; Show that we are able to propagate inputs to the region into the split PHINode
55
; outside of the region if necessary.
66

77
define void @function1(ptr %a, ptr %b) {

llvm/test/Transforms/InstSimplify/ConstProp/2002-03-11-ConstPropCrash.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; When constant propogating terminator instructions, the basic block iterator
1+
; When constant propagating terminator instructions, the basic block iterator
22
; was not updated to refer to the final position of the new terminator. This
33
; can be bad, f.e. because constproping a terminator can lead to the
44
; destruction of PHI nodes, which invalidates the iterator!

llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-DivideByZeroException.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; Make sure that the constant propogator doesn't divide by zero!
1+
; Make sure that the constant propagator doesn't divide by zero!
22
;
33
; RUN: opt < %s -passes=instsimplify
44
;

llvm/test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ exit:
154154
}
155155

156156
; Check that we can eliminate several dead blocks.
157-
define i32 @dead_block_propogate_test_branch_loop(i32 %end) {
158-
; CHECK-LABEL: @dead_block_propogate_test_branch_loop(
157+
define i32 @dead_block_propagate_test_branch_loop(i32 %end) {
158+
; CHECK-LABEL: @dead_block_propagate_test_branch_loop(
159159
; CHECK-NEXT: preheader:
160160
; CHECK-NEXT: br label [[HEADER:%.*]]
161161
; CHECK: header:
@@ -192,8 +192,8 @@ exit:
192192
}
193193

194194
; Check that we can eliminate several blocks while removing a switch.
195-
define i32 @dead_block_propogate_test_switch_loop(i32 %end) {
196-
; CHECK-LABEL: @dead_block_propogate_test_switch_loop(
195+
define i32 @dead_block_propagate_test_switch_loop(i32 %end) {
196+
; CHECK-LABEL: @dead_block_propagate_test_switch_loop(
197197
; CHECK-NEXT: preheader:
198198
; CHECK-NEXT: br label [[HEADER:%.*]]
199199
; CHECK: header:

llvm/test/Unit/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
(config.shlibdir, config.environment["PATH"])
6161
)
6262

63-
# Win32 may use %SYSTEMDRIVE% during file system shell operations, so propogate.
63+
# Win32 may use %SYSTEMDRIVE% during file system shell operations, so propagate.
6464
if sys.platform == "win32" and "SYSTEMDRIVE" in os.environ:
6565
config.environment["SYSTEMDRIVE"] = os.environ["SYSTEMDRIVE"]

llvm/utils/TableGen/jupyter/tablegen_kernel/kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def do_execute(
308308
except TableGenKernelException as e:
309309
return self.send_stderr(str(e))
310310

311-
# If we cannot find llvm-tblgen, propogate the error to the notebook.
311+
# If we cannot find llvm-tblgen, propagate the error to the notebook.
312312
# (in case the user is not able to see the output from the Jupyter server)
313313
try:
314314
executable = self.get_executable()

mlir/lib/Dialect/Tosa/Transforms/TosaInferShapes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88
//
9-
// Propogate shapes forward along TOSA operations to resolve dynamic shape
9+
// Propagate shapes forward along TOSA operations to resolve dynamic shape
1010
// operations.
1111
//
1212
//===----------------------------------------------------------------------===//

mlir/test/Dialect/Linalg/canonicalize.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func.func @dead_linalg_tensor(%arg0 : tensor<7x7xi32>, %arg1 : tensor<7x7xf32>,
272272

273273
// -----
274274

275-
func.func @propogate_casts(%arg0 : tensor<?x?xf32>, %arg1 : f32, %arg2 : index,
275+
func.func @propagate_casts(%arg0 : tensor<?x?xf32>, %arg1 : f32, %arg2 : index,
276276
%arg3 : index) -> tensor<?x?xf32> {
277277
%c0 = arith.constant 0 : index
278278
%c1 = arith.constant 1 : index
@@ -285,7 +285,7 @@ func.func @propogate_casts(%arg0 : tensor<?x?xf32>, %arg1 : f32, %arg2 : index,
285285
%4 = tensor.insert_slice %arg0 into %1[%arg2, %arg3] [%2, %3] [1, 1] : tensor<?x?xf32> into tensor<?x?xf32>
286286
return %4 : tensor<?x?xf32>
287287
}
288-
// CHECK-LABEL: func @propogate_casts
288+
// CHECK-LABEL: func @propagate_casts
289289
// CHECK: %[[INIT:.+]] = tensor.empty
290290
// CHECK: %[[FILL:.+]] = linalg.fill ins(%{{.+}}{{.*}}outs(%[[INIT]]
291291
// CHECK: %[[INSERTED:.+]] = tensor.insert_slice %{{.+}} into %[[FILL]]

mlir/test/Dialect/Tensor/canonicalize.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2091,8 +2091,8 @@ func.func @fold_expand_shape_from_elements(%arg0: i32) -> tensor<1xi32> {
20912091

20922092
// -----
20932093

2094-
// CHECK-LABEL: func @propogate_index_cast
2095-
func.func @propogate_index_cast(%arg0: tensor<1xi32>) -> index {
2094+
// CHECK-LABEL: func @propagate_index_cast
2095+
func.func @propagate_index_cast(%arg0: tensor<1xi32>) -> index {
20962096
// CHECK: %[[IDX:.+]] = arith.constant 0
20972097
// CHECK: %[[EXT:.+]] = tensor.extract %arg0[%[[IDX]]] : tensor<1xi32>
20982098
// CHECK: %[[CAST:.+]] = arith.index_cast %[[EXT]]

0 commit comments

Comments
 (0)