Skip to content

Commit c71fbdd

Browse files
Quinn PhamQuinn Pham
Quinn Pham
authored and
Quinn Pham
committed
[NFC] Inclusive language: Remove instances of master in URLs
[NFC] This patch fixes URLs containing "master". Old URLs were either broken or redirecting to the new URL. Reviewed By: #libc, ldionne, mehdi_amini Differential Revision: https://reviews.llvm.org/D113186
1 parent f2703c3 commit c71fbdd

File tree

34 files changed

+49
-49
lines changed

34 files changed

+49
-49
lines changed

clang-tools-extra/clangd/Protocol.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
//
99
// This file contains structs based on the LSP specification at
10-
// https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md
10+
// https://github.com/Microsoft/language-server-protocol/blob/main/protocol.md
1111
//
1212
// This is not meant to be a complete implementation, new interfaces are added
1313
// when they're needed.
@@ -1172,7 +1172,7 @@ enum class InsertTextFormat {
11721172
/// typing in one will update others too.
11731173
///
11741174
/// See also:
1175-
/// https//github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/snippet/common/snippet.md
1175+
/// https://github.com/Microsoft/vscode/blob/main/src/vs/editor/contrib/snippet/snippet.md
11761176
Snippet = 2,
11771177
};
11781178

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ the configuration (without a prefix: ``Auto``).
149149
<https://google.github.io/styleguide/cppguide.html>`_
150150
* ``Chromium``
151151
A style complying with `Chromium's style guide
152-
<https://chromium.googlesource.com/chromium/src/+/master/styleguide/styleguide.md>`_
152+
<https://chromium.googlesource.com/chromium/src/+/refs/heads/main/styleguide/styleguide.md>`_
153153
* ``Mozilla``
154154
A style complying with `Mozilla's style guide
155155
<https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style>`_

clang/docs/LibFormat.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ several style guides are hard-coded:
5353
FormatStyle getGoogleStyle();
5454

5555
/// Returns a format style complying with Chromium's style guide:
56-
/// https://chromium.googlesource.com/chromium/src/+/master/styleguide/styleguide.md
56+
/// https://chromium.googlesource.com/chromium/src/+/refs/heads/main/styleguide/styleguide.md
5757
FormatStyle getChromiumStyle();
5858

5959
/// Returns a format style complying with the GNU coding standards:

clang/docs/UsersManual.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3139,7 +3139,7 @@ extension should use reserved identifier prefix e.g. amd, arm, intel.
31393139

31403140
Clang also supports language extensions documented in `The OpenCL C Language
31413141
Extensions Documentation
3142-
<https://github.com/KhronosGroup/Khronosdotorg/blob/master/api/opencl/assets/OpenCL_LangExt.pdf>`_.
3142+
<https://github.com/KhronosGroup/Khronosdotorg/blob/main/api/opencl/assets/OpenCL_LangExt.pdf>`_.
31433143

31443144
OpenCL-Specific Attributes
31453145
--------------------------

clang/lib/AST/ItaniumMangle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3572,7 +3572,7 @@ void CXXNameMangler::mangleAArch64NeonVectorType(const DependentVectorType *T) {
35723572
// mangling scheme, it will be specified in the next revision. The mangling
35733573
// scheme is otherwise defined in the appendices to the Procedure Call Standard
35743574
// for the Arm Architecture, see
3575-
// https://github.com/ARM-software/abi-aa/blob/master/aapcs64/aapcs64.rst#appendix-c-mangling
3575+
// https://github.com/ARM-software/abi-aa/blob/main/aapcs64/aapcs64.rst#appendix-c-mangling
35763576
void CXXNameMangler::mangleAArch64FixedSveVectorType(const VectorType *T) {
35773577
assert((T->getVectorKind() == VectorType::SveFixedLengthDataVector ||
35783578
T->getVectorKind() == VectorType::SveFixedLengthPredicateVector) &&

clang/lib/Format/Format.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,7 @@ FormatStyle getChromiumStyle(FormatStyle::LanguageKind Language) {
13861386
ChromiumStyle.ContinuationIndentWidth = 8;
13871387
ChromiumStyle.IndentWidth = 4;
13881388
// See styleguide for import groups:
1389-
// https://chromium.googlesource.com/chromium/src/+/master/styleguide/java/java.md#Import-Order
1389+
// https://chromium.googlesource.com/chromium/src/+/refs/heads/main/styleguide/java/java.md#Import-Order
13901390
ChromiumStyle.JavaImportGroups = {
13911391
"android",
13921392
"androidx",

clang/lib/Format/FormatToken.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ struct AdditionalKeywords {
10601060
bool IsJavaScriptIdentifier(const FormatToken &Tok,
10611061
bool AcceptIdentifierName = true) const {
10621062
// Based on the list of JavaScript & TypeScript keywords here:
1063-
// https://github.com/microsoft/TypeScript/blob/master/src/compiler/scanner.ts#L74
1063+
// https://github.com/microsoft/TypeScript/blob/main/src/compiler/scanner.ts#L74
10641064
switch (Tok.Tok.getKind()) {
10651065
case tok::kw_break:
10661066
case tok::kw_case:

clang/lib/Format/TokenAnnotator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4061,7 +4061,7 @@ bool TokenAnnotator::canBreakBefore(const AnnotatedLine &Line,
40614061
Keywords.kw_interface, Keywords.kw_type, Keywords.kw_var,
40624062
Keywords.kw_let, tok::kw_const))
40634063
// See grammar for 'declare' statements at:
4064-
// https://github.com/Microsoft/TypeScript/blob/master/doc/spec.md#A.10
4064+
// https://github.com/Microsoft/TypeScript/blob/main/doc/spec-ARCHIVED.md#A.10
40654065
return false;
40664066
if (Left.isOneOf(Keywords.kw_module, tok::kw_namespace) &&
40674067
Right.isOneOf(tok::identifier, tok::string_literal))

clang/test/OpenMP/aarch64_vfabi_NarrowestDataSize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Note: -fopemp and -fopenmp-simd behavior are expected to be the same.
66

77
// This test checks the values of Narrowest Data Size (NDS), as defined in
8-
// https://github.com/ARM-software/abi-aa/tree/master/vfabia64
8+
// https://github.com/ARM-software/abi-aa/tree/main/vfabia64
99
//
1010
// NDS is used to compute the <vlen> token in the name of AdvSIMD
1111
// vector functions when no `simdlen` is specified, with the rule:

clang/test/OpenMP/aarch64_vfabi_WidestDataSize.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Note: -fopemp and -fopenmp-simd behavior are expected to be the same.
66

77
// This test checks the values of Widest Data Size (WDS), as defined
8-
// in https://github.com/ARM-software/abi-aa/tree/master/vfabia64
8+
// in https://github.com/ARM-software/abi-aa/tree/main/vfabia64
99
//
1010
// WDS is used to check the accepted values <N> of `simdlen(<N>)` when
1111
// targeting fixed-length SVE vector function names. The values of

clang/www/related.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ <h1>Clang Related Projects</h1>
3939
<dd>
4040
<p>
4141
<b>Site:</b>
42-
<a href="https://chromium.googlesource.com/chromium/src/+/master/docs/clang.md">
43-
https://chromium.googlesource.com/chromium/src/+/master/docs/clang.md</a>
42+
<a href="https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/clang.md">
43+
https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/clang.md</a>
4444
</p>
4545
<p>
4646
Notes on using Clang to build the Chromium web browser.

libcxx/utils/ci/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ WORKDIR /home/libcxx-builder
9191

9292
# Install the Buildkite agent and dependencies. This must be done as non-root
9393
# for the Buildkite agent to be installed in a path where we can find it.
94-
RUN bash -c "$(curl -sL https://raw.githubusercontent.com/buildkite/agent/master/install.sh)"
94+
RUN bash -c "$(curl -sL https://raw.githubusercontent.com/buildkite/agent/main/install.sh)"
9595
ENV PATH="${PATH}:/home/libcxx-builder/.buildkite-agent/bin"
9696
RUN echo "tags=\"queue=libcxx-builders,arch=$(uname -m),os=linux\"" >> "/home/libcxx-builder/.buildkite-agent/buildkite-agent.cfg"
9797

lld/docs/WebAssembly.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,6 @@ Missing features
205205
supported.
206206
- No support for creating shared libraries. The spec for shared libraries in
207207
WebAssembly is still in flux:
208-
https://github.com/WebAssembly/tool-conventions/blob/master/DynamicLinking.md
208+
https://github.com/WebAssembly/tool-conventions/blob/main/DynamicLinking.md
209209

210-
.. _linking: https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md
210+
.. _linking: https://github.com/WebAssembly/tool-conventions/blob/main/Linking.md

lld/wasm/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ static void createSyntheticSymbols() {
632632
// __table_base) from the environment and use these as the offset at
633633
// which to load our static data and function table.
634634
// See:
635-
// https://github.com/WebAssembly/tool-conventions/blob/master/DynamicLinking.md
635+
// https://github.com/WebAssembly/tool-conventions/blob/main/DynamicLinking.md
636636
auto *globalType = is64 ? &globalTypeI64 : &globalTypeI32;
637637
WasmSym::memoryBase = createUndefinedGlobal("__memory_base", globalType);
638638
WasmSym::tableBase = createUndefinedGlobal("__table_base", globalType);

lld/wasm/SyntheticSections.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class SyntheticSection : public OutputSection {
7171
// Create the custom "dylink" section containing information for the dynamic
7272
// linker.
7373
// See
74-
// https://github.com/WebAssembly/tool-conventions/blob/master/DynamicLinking.md
74+
// https://github.com/WebAssembly/tool-conventions/blob/main/DynamicLinking.md
7575
class DylinkSection : public SyntheticSection {
7676
public:
7777
DylinkSection() : SyntheticSection(llvm::wasm::WASM_SEC_CUSTOM, "dylink.0") {}

lldb/unittests/Process/minidump/Inputs/linux-x86_64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Example source from breakpad's linux tutorial
2-
// https://chromium.googlesource.com/breakpad/breakpad/+/master/docs/linux_starter_guide.md
2+
// https://chromium.googlesource.com/breakpad/breakpad/+/main/docs/linux_starter_guide.md
33

44
#include <stdio.h>
55
#include <sys/types.h>

llvm/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ if(LLVM_INCLUDE_TESTS)
812812
endif()
813813

814814
# For up-to-date instructions for installing the Tensorflow dependency, refer to
815-
# the bot setup script: https://github.com/google/ml-compiler-opt/blob/master/buildbot/buildbot_init.sh
815+
# the bot setup script: https://github.com/google/ml-compiler-opt/blob/main/buildbot/buildbot_init.sh
816816
# In this case, the latest C API library is available for download from
817817
# https://www.tensorflow.org/install/lang_c.
818818
# We will expose the conditional compilation variable,
@@ -846,7 +846,7 @@ if (TENSORFLOW_C_LIB_PATH)
846846
endif()
847847

848848
# For up-to-date instructions for installing the Tensorflow dependency, refer to
849-
# the bot setup script: https://github.com/google/ml-compiler-opt/blob/master/buildbot/buildbot_init.sh
849+
# the bot setup script: https://github.com/google/ml-compiler-opt/blob/main/buildbot/buildbot_init.sh
850850
# Specifically, assuming python3 is installed:
851851
# python3 -m pip install --upgrade pip && python3 -m pip install --user tf_nightly==2.3.0.dev20200528
852852
# Then set TENSORFLOW_AOT_PATH to the package install - usually it's ~/.local/lib/python3.7/site-packages/tensorflow

llvm/docs/CompileCudaWithLLVM.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ device side.
144144
----------------------------
145145

146146
In clang, ``math.h`` and ``cmath`` are available and `pass
147-
<https://github.com/llvm/llvm-test-suite/blob/master/External/CUDA/math_h.cu>`_
147+
<https://github.com/llvm/llvm-test-suite/blob/main/External/CUDA/math_h.cu>`_
148148
`tests
149-
<https://github.com/llvm/llvm-test-suite/blob/master/External/CUDA/cmath.cu>`_
149+
<https://github.com/llvm/llvm-test-suite/blob/main/External/CUDA/cmath.cu>`_
150150
adapted from libc++'s test suite.
151151

152152
In nvcc ``math.h`` and ``cmath`` are mostly available. Versions of ``::foof``

llvm/docs/Proposals/TestSuite.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,15 @@ http://www.nwchem-sw.org/index.php/Benchmarks
219219

220220
TVM
221221
----
222-
https://github.com/dmlc/tvm/tree/master/apps/benchmark
222+
https://github.com/dmlc/tvm/tree/main/apps/benchmark
223223

224224
HydroBench
225225
----------
226226
https://github.com/HydroBench/Hydro
227227

228228
ParRes
229229
------
230-
https://github.com/ParRes/Kernels/tree/master/Cxx11
230+
https://github.com/ParRes/Kernels/tree/default/Cxx11
231231

232232
Applications/Libraries
233233
======================

llvm/include/llvm/BinaryFormat/Wasm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
//
99
// This file defines manifest constants for the wasm object file format.
10-
// See: https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md
10+
// See: https://github.com/WebAssembly/design/blob/main/BinaryEncoding.md
1111
//
1212
//===----------------------------------------------------------------------===//
1313

llvm/include/llvm/Object/Wasm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// This file declares the WasmObjectFile class, which implements the ObjectFile
1010
// interface for Wasm files.
1111
//
12-
// See: https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md
12+
// See: https://github.com/WebAssembly/design/blob/main/BinaryEncoding.md
1313
//
1414
//===----------------------------------------------------------------------===//
1515

llvm/lib/MC/WasmObjectWriter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ uint32_t WasmObjectWriter::writeDataSection(const MCAsmLayout &Layout) {
10871087
void WasmObjectWriter::writeRelocSection(
10881088
uint32_t SectionIndex, StringRef Name,
10891089
std::vector<WasmRelocationEntry> &Relocs) {
1090-
// See: https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md
1090+
// See: https://github.com/WebAssembly/tool-conventions/blob/main/Linking.md
10911091
// for descriptions of the reloc sections.
10921092

10931093
if (Relocs.empty())

llvm/lib/Object/WasmObjectFile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ Error WasmObjectFile::parseDylinkSection(ReadContext &Ctx) {
359359

360360
Error WasmObjectFile::parseDylink0Section(ReadContext &Ctx) {
361361
// See
362-
// https://github.com/WebAssembly/tool-conventions/blob/master/DynamicLinking.md
362+
// https://github.com/WebAssembly/tool-conventions/blob/main/DynamicLinking.md
363363
HasDylinkSection = true;
364364

365365
const uint8_t *OrigEnd = Ctx.End;

llvm/lib/Target/WebAssembly/README.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
The object format emitted by the WebAssembly backed is documented in:
44

5-
* https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md
5+
* https://github.com/WebAssembly/tool-conventions/blob/main/Linking.md
66

77
The C ABI is described in:
88

9-
* https://github.com/WebAssembly/tool-conventions/blob/master/BasicCABI.md
9+
* https://github.com/WebAssembly/tool-conventions/blob/main/BasicCABI.md
1010

1111
For more information on WebAssembly itself, see the home page:
1212

@@ -31,8 +31,8 @@ For more information, see:
3131

3232
The following documents contain some information on the semantics and binary
3333
encoding of WebAssembly itself:
34-
* https://github.com/WebAssembly/design/blob/master/Semantics.md
35-
* https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md
34+
* https://github.com/WebAssembly/design/blob/main/Semantics.md
35+
* https://github.com/WebAssembly/design/blob/main/BinaryEncoding.md
3636

3737
Some notes on ways that the generated code could be improved follow:
3838

llvm/tools/vfabi-demangle-fuzzer/vfabi-demangler-fuzzer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
3434
const auto Info = VFABI::tryDemangleForVFABI(MangledName, *M);
3535

3636
// Do not optimize away the return value. Inspired by
37-
// https://github.com/google/benchmark/blob/master/include/benchmark/benchmark.h#L307-L345
37+
// https://github.com/google/benchmark/blob/main/include/benchmark/benchmark.h#L307-L345
3838
asm volatile("" : : "r,m"(Info) : "memory");
3939

4040
return 0;

llvm/utils/gn/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ before starting the build.
6363

6464
GN has extensive built-in help; try e.g. ``llvm/utils/gn/gn.py help gen`` to see
6565
the help for the ``gen`` command. The full GN reference is also `available
66-
online <https://gn.googlesource.com/gn/+/master/docs/reference.md>`_.
66+
online <https://gn.googlesource.com/gn/+/refs/heads/main/docs/reference.md>`_.
6767

6868
GN has an autoformatter:
6969
``git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format``

mlir/docs/Dialects/SPIR-V.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,8 +1422,8 @@ dialect.
14221422
[GitHubLoweringTracking]: https://github.com/tensorflow/mlir/issues/303
14231423
[GenSpirvUtilsPy]: https://github.com/llvm/llvm-project/blob/main/mlir/utils/spirv/gen_spirv_dialect.py
14241424
[CustomTypeAttrTutorial]: ../Tutorials/DefiningAttributesAndTypes.md
1425-
[VulkanExtensionPhysicalStorageBuffer]: https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/KHR/SPV_KHR_physical_storage_buffer.html
1426-
[VulkanExtensionVariablePointers]: https://github.com/KhronosGroup/SPIRV-Registry/blob/master/extensions/KHR/SPV_KHR_variable_pointers.html
1425+
[VulkanExtensionPhysicalStorageBuffer]: https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_physical_storage_buffer.html
1426+
[VulkanExtensionVariablePointers]: https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_variable_pointers.html
14271427
[VulkanSpirv]: https://renderdoc.org/vkspec_chunked/chap40.html#spirvenv
14281428
[VulkanShaderInterface]: https://renderdoc.org/vkspec_chunked/chap14.html#interfaces-resources
14291429
[VulkanShaderInterfaceStorageClass]: https://renderdoc.org/vkspec_chunked/chap15.html#interfaces

mlir/docs/LangRef.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
MLIR (Multi-Level IR) is a compiler intermediate representation with
44
similarities to traditional three-address SSA representations (like
55
[LLVM IR](http://llvm.org/docs/LangRef.html) or
6-
[SIL](https://github.com/apple/swift/blob/master/docs/SIL.rst)), but which
6+
[SIL](https://github.com/apple/swift/blob/main/docs/SIL.rst)), but which
77
introduces notions from polyhedral loop optimization as first-class concepts.
88
This hybrid design is optimized to represent, analyze, and transform high level
99
dataflow graphs as well as target-specific code generated for high performance

mlir/docs/Rationale/Rationale.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ about their consistency or readability.
1313
MLIR is a compiler intermediate representation with similarities to traditional
1414
three-address SSA representations (like
1515
[LLVM IR](http://llvm.org/docs/LangRef.html) or
16-
[SIL](https://github.com/apple/swift/blob/master/docs/SIL.rst)), but which
16+
[SIL](https://github.com/apple/swift/blob/main/docs/SIL.rst)), but which
1717
introduces notions from the polyhedral loop optimization works as first class
1818
concepts. This hybrid design is optimized to represent, analyze, and transform
1919
high level dataflow graphs as well as target-specific code generated for high
@@ -195,10 +195,10 @@ represented in either form) but block arguments have several advantages:
195195
[landingpad instruction](http://llvm.org/docs/LangRef.html#landingpad-instruction)
196196
is a hack used to represent this. MLIR doesn't make use of this capability,
197197
but SIL uses it extensively, e.g. in the
198-
[switch_enum instruction](https://github.com/apple/swift/blob/master/docs/SIL.rst#switch-enum).
198+
[switch_enum instruction](https://github.com/apple/swift/blob/main/docs/SIL.rst#switch-enum).
199199

200200
For more context, block arguments were previously used in the Swift
201-
[SIL Intermediate Representation](https://github.com/apple/swift/blob/master/docs/SIL.rst),
201+
[SIL Intermediate Representation](https://github.com/apple/swift/blob/main/docs/SIL.rst),
202202
and described in
203203
[a talk on YouTube](https://www.youtube.com/watch?v=Ntj8ab-5cvE). The section of
204204
interest

mlir/docs/Rationale/RationaleGenericDAGRewriter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ GCC
102102
LLVM's
103103
[DAG Combiner](https://github.com/llvm-mirror/llvm/blob/master/lib/CodeGen/SelectionDAG/DAGCombiner.cpp),
104104
the Swift compiler's
105-
[SIL Combiner](https://github.com/apple/swift/tree/master/lib/SILOptimizer/SILCombiner),
105+
[SIL Combiner](https://github.com/apple/swift/tree/main/lib/SILOptimizer/SILCombiner),
106106
etc. These generally match one or more operations and produce zero or more
107107
operations as a result. The LLVM
108108
[Legalization](https://github.com/llvm/llvm-project/tree/main/llvm/lib/CodeGen/SelectionDAG)

mlir/include/mlir/Dialect/LLVMIR/ROCDLDialect.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// pointed to here. However the following links contain more information about
1414
// ROCDL (ROCm-Device-Library)
1515
//
16-
// https://github.com/RadeonOpenCompute/ROCm-Device-Libs/blob/master/doc/OCML.md
17-
// https://github.com/RadeonOpenCompute/ROCm-Device-Libs/blob/master/doc/OCKL.md
16+
// https://github.com/RadeonOpenCompute/ROCm-Device-Libs/blob/amd-stg-open/doc/OCML.md
17+
// https://github.com/RadeonOpenCompute/ROCm-Device-Libs/blob/amd-stg-open/doc/OCKL.md
1818
// https://llvm.org/docs/AMDGPUUsage.html
1919
//
2020
//===----------------------------------------------------------------------===//

mlir/lib/Tools/mlir-lsp-server/lsp/Protocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88
//
99
// This file contains structs based on the LSP specification at
10-
// https://github.com/Microsoft/language-server-protocol/blob/master/protocol.md
10+
// https://github.com/Microsoft/language-server-protocol/blob/main/protocol.md
1111
//
1212
// This is not meant to be a complete implementation, new interfaces are added
1313
// when they're needed.

utils/bazel/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ build:rbe --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
158158
# Platform flags:
159159
# The toolchain container used for execution is defined in the target indicated
160160
# by "extra_execution_platforms", "host_platform" and "platforms".
161-
# More about platforms: https://docs.bazel.build/versions/master/platforms.html
161+
# More about platforms: https://docs.bazel.build/versions/main/platforms.html
162162
build:rbe --extra_toolchains=@rbe_default//config:cc-toolchain
163163
build:rbe --extra_execution_platforms=@rbe_default//config:platform
164164
build:rbe --host_platform=@rbe_default//config:platform

0 commit comments

Comments
 (0)