[llvm-project] Fix typo "propogate" (#114795)

This commit is contained in:
Jay Foad 2024-11-04 15:33:19 +00:00 committed by GitHub
parent a58c3d3ac7
commit f8559751fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
22 changed files with 31 additions and 31 deletions

View File

@ -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);

View File

@ -38,7 +38,7 @@ if sys.platform in ["win32", "cygwin"] and os.path.isdir(config.shlibdir):
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"]

View File

@ -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

View File

@ -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

View File

@ -9240,12 +9240,12 @@ struct AAValueConstantRangeReturned
: AAReturnedFromReturnedValues<AAValueConstantRange,
AAValueConstantRangeImpl,
AAValueConstantRangeImpl::StateType,
/* PropogateCallBaseContext */ true> {
/* PropagateCallBaseContext */ true> {
using Base =
AAReturnedFromReturnedValues<AAValueConstantRange,
AAValueConstantRangeImpl,
AAValueConstantRangeImpl::StateType,
/* PropogateCallBaseContext */ true>;
/* PropagateCallBaseContext */ true>;
AAValueConstantRangeReturned(const IRPosition &IRP, Attributor &A)
: Base(IRP, A) {}

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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) {

View File

@ -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) {

View File

@ -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!

View File

@ -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
;

View File

@ -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:

View File

@ -60,6 +60,6 @@ if sys.platform in ["win32", "cygwin"] and os.path.isdir(config.shlibdir):
(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"]

View File

@ -308,7 +308,7 @@ class TableGenKernel(Kernel):
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()

View File

@ -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.
//
//===----------------------------------------------------------------------===//

View File

@ -272,7 +272,7 @@ func.func @dead_linalg_tensor(%arg0 : tensor<7x7xi32>, %arg1 : tensor<7x7xf32>,
// -----
func.func @propogate_casts(%arg0 : tensor<?x?xf32>, %arg1 : f32, %arg2 : index,
func.func @propagate_casts(%arg0 : tensor<?x?xf32>, %arg1 : f32, %arg2 : index,
%arg3 : index) -> tensor<?x?xf32> {
%c0 = arith.constant 0 : index
%c1 = arith.constant 1 : index
@ -285,7 +285,7 @@ func.func @propogate_casts(%arg0 : tensor<?x?xf32>, %arg1 : f32, %arg2 : index,
%4 = tensor.insert_slice %arg0 into %1[%arg2, %arg3] [%2, %3] [1, 1] : tensor<?x?xf32> into tensor<?x?xf32>
return %4 : tensor<?x?xf32>
}
// 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]]

View File

@ -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]]