Skip to content

Commit 922992a

Browse files
authored
Fix typo "instrinsic" (#112899)
1 parent 62e2c7f commit 922992a

File tree

19 files changed

+22
-22
lines changed

19 files changed

+22
-22
lines changed

clang/utils/TableGen/RISCVVEmitter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ static VectorTypeModifier getTupleVTM(unsigned NF) {
169169

170170
static unsigned getIndexedLoadStorePtrIdx(const RVVIntrinsic *RVVI) {
171171
// We need a special rule for segment load/store since the data width is not
172-
// encoded in the instrinsic name itself.
172+
// encoded in the intrinsic name itself.
173173
const StringRef IRName = RVVI->getIRName();
174174
constexpr unsigned RVV_VTA = 0x1;
175175
constexpr unsigned RVV_VMA = 0x2;
@@ -192,7 +192,7 @@ static unsigned getIndexedLoadStorePtrIdx(const RVVIntrinsic *RVVI) {
192192
static unsigned getSegInstLog2SEW(StringRef InstName) {
193193
// clang-format off
194194
// We need a special rule for indexed segment load/store since the data width
195-
// is not encoded in the instrinsic name itself.
195+
// is not encoded in the intrinsic name itself.
196196
if (InstName.starts_with("vloxseg") || InstName.starts_with("vluxseg") ||
197197
InstName.starts_with("vsoxseg") || InstName.starts_with("vsuxseg"))
198198
return (unsigned)-1;

flang/docs/OptionComparison.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ eN
5353
</td>
5454
<td>fdec,
5555
<p>
56-
fall-instrinsics
56+
fall-intrinsics
5757
</td>
5858
<td><a href="https://www-01.ibm.com/support/docview.wss?uid=swg27024803&aid=1#page=297">qxlf77</a>,
5959
<p>

flang/include/flang/Runtime/magic-numbers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ The denorm value is a nonstandard extension.
107107

108108
#if 0
109109
ieee_round_type values
110-
The values are those of the llvm.get.rounding instrinsic, which is assumed by
110+
The values are those of the llvm.get.rounding intrinsic, which is assumed by
111111
ieee_arithmetic module rounding procedures.
112112
#endif
113113
#define _FORTRAN_RUNTIME_IEEE_TO_ZERO 0

flang/lib/Evaluate/intrinsics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1690,7 +1690,7 @@ std::optional<SpecificCall> IntrinsicInterface::Match(
16901690
// MAX and MIN (and others that map to them) allow their last argument to
16911691
// be repeated indefinitely. The actualForDummy vector is sized
16921692
// and null-initialized to the non-repeated dummy argument count
1693-
// for other instrinsics.
1693+
// for other intrinsics.
16941694
bool isMaxMin{dummyArgPatterns > 0 &&
16951695
dummy[dummyArgPatterns - 1].optionality == Optionality::repeats};
16961696
std::vector<ActualArgument *> actualForDummy(

flang/lib/Optimizer/Builder/Runtime/Numeric.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ struct ForcedSpacing16 {
284284
}
285285
};
286286

287-
/// Generate call to Exponent instrinsic runtime routine.
287+
/// Generate call to Exponent intrinsic runtime routine.
288288
mlir::Value fir::runtime::genExponent(fir::FirOpBuilder &builder,
289289
mlir::Location loc, mlir::Type resultType,
290290
mlir::Value x) {
@@ -320,7 +320,7 @@ mlir::Value fir::runtime::genExponent(fir::FirOpBuilder &builder,
320320
return builder.create<fir::CallOp>(loc, func, args).getResult(0);
321321
}
322322

323-
/// Generate call to Fraction instrinsic runtime routine.
323+
/// Generate call to Fraction intrinsic runtime routine.
324324
mlir::Value fir::runtime::genFraction(fir::FirOpBuilder &builder,
325325
mlir::Location loc, mlir::Value x) {
326326
mlir::func::FuncOp func;
@@ -596,7 +596,7 @@ mlir::Value fir::runtime::genSelectedRealKind(fir::FirOpBuilder &builder,
596596
return builder.create<fir::CallOp>(loc, func, args).getResult(0);
597597
}
598598

599-
/// Generate call to Set_exponent instrinsic runtime routine.
599+
/// Generate call to Set_exponent intrinsic runtime routine.
600600
mlir::Value fir::runtime::genSetExponent(fir::FirOpBuilder &builder,
601601
mlir::Location loc, mlir::Value x,
602602
mlir::Value i) {

flang/lib/Optimizer/Builder/Runtime/Reduction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1513,7 +1513,7 @@ mlir::Value fir::runtime::genSum(fir::FirOpBuilder &builder, mlir::Location loc,
15131513

15141514
// The IAll, IAny and IParity intrinsics have essentially the same
15151515
// implementation. This macro will generate the function body given the
1516-
// instrinsic name.
1516+
// intrinsic name.
15171517
#define GEN_IALL_IANY_IPARITY(F) \
15181518
mlir::Value fir::runtime::JOIN2(gen, F)( \
15191519
fir::FirOpBuilder & builder, mlir::Location loc, mlir::Value arrayBox, \

lldb/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if (LLDB_ENABLE_PYTHON OR LLDB_ENABLE_LUA)
9797
add_subdirectory(bindings)
9898
endif ()
9999

100-
# We need the headers generated by instrinsics_gen before we can compile
100+
# We need the headers generated by intrinsics_gen before we can compile
101101
# any source file in LLDB as the imported Clang modules might include
102102
# some of these generated headers. This approach is copied from Clang's main
103103
# CMakeLists.txt, so it should kept in sync the code in Clang which was added

llvm/include/llvm/IR/IntrinsicsAMDGPU.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ def int_amdgcn_s_buffer_load : DefaultAttrsIntrinsic <
11151115
// it is const 0. A struct intrinsic with constant 0 index is different to the
11161116
// corresponding raw intrinsic on gfx9+ because the behavior of bound checking
11171117
// and swizzling changes depending on whether idxen is set in the instruction.
1118-
// These instrinsics also keep the offset and soffset arguments separate as
1118+
// These intrinsics also keep the offset and soffset arguments separate as
11191119
// they behave differently in bounds checking and swizzling.
11201120

11211121
// The versions of these intrinsics that take <4 x i32> arguments are deprecated

llvm/include/llvm/Transforms/Utils/SSAUpdater.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class SSAUpdater {
118118

119119
/// Rewrite debug value intrinsics to conform to a new SSA form.
120120
///
121-
/// This will scout out all the debug value instrinsics associated with
121+
/// This will scout out all the debug value intrinsics associated with
122122
/// the instruction. Anything outside of its block will have its
123123
/// value set to the new SSA value if available, and undef if not.
124124
void UpdateDebugValues(Instruction *I);

llvm/lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ std::pair<Value *, Value *> AMDGPUAtomicOptimizerImpl::buildScanIteratively(
580580
auto *ActiveBits = B.CreatePHI(WaveTy, 2, "ActiveBits");
581581
ActiveBits->addIncoming(Ballot, EntryBB);
582582

583-
// Use llvm.cttz instrinsic to find the lowest remaining active lane.
583+
// Use llvm.cttz intrinsic to find the lowest remaining active lane.
584584
auto *FF1 =
585585
B.CreateIntrinsic(Intrinsic::cttz, WaveTy, {ActiveBits, B.getTrue()});
586586

llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
/// each of the preceding fields which are relevant for a given instruction
5151
/// in the opcode space.
5252
///
53-
/// Currently, the policy is represented via the following instrinsic families:
53+
/// Currently, the policy is represented via the following intrinsic families:
5454
/// * _MASK - Can represent all three policy states for both tail and mask. If
5555
/// passthrough is IMPLICIT_DEF (or NoReg), then represents "undefined".
5656
/// Otherwise, policy operand and tablegen flags drive the interpretation.

llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ defm "" : ReplaceLane<I64x2, 30>;
708708
defm "" : ReplaceLane<F32x4, 32>;
709709
defm "" : ReplaceLane<F64x2, 34>;
710710

711-
// For now use an instrinsic for f16x8.replace_lane instead of ReplaceLane above
711+
// For now use an intrinsic for f16x8.replace_lane instead of ReplaceLane above
712712
// since LLVM IR generated with half type arguments is not well supported and
713713
// creates conversions from f16->f32.
714714
defm REPLACE_LANE_F16x8 :

llvm/test/Bitcode/upgrade-aarch64-sve-intrinsics.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ define <vscale x 32 x i8> @ld2.nxv32i8_no_eltty(<vscale x 16 x i1> %Pg, i8 *%bas
5454
ret <vscale x 32 x i8> %res
5555
}
5656

57-
; ldN instrinsic name with only output type
57+
; ldN intrinsic name with only output type
5858
define <vscale x 32 x i8> @ld2.nxv32i8_no_predty_pty(<vscale x 16 x i1> %Pg, i8 *%base_ptr) {
5959
; CHECK-LABEL: @ld2.nxv32i8_no_predty_pty
6060
; CHECK: %1 = call { <vscale x 16 x i8>, <vscale x 16 x i8> } @llvm.aarch64.sve.ld2.sret.nxv16i8(<vscale x 16 x i1> %Pg, ptr %base_ptr)

llvm/test/CodeGen/SystemZ/vec-reduce-add-01.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 4
2-
; Test vector add reduction instrinsic
2+
; Test vector add reduction intrinsic
33
;
44
; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z16 | FileCheck %s
55

llvm/test/Transforms/JumpThreading/thread-debug-info.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ exit: ; preds = %bb.f4, %bb.f3, %bb.
5050
ret void, !dbg !29
5151
}
5252

53-
; This is testing for debug value instrinsics outside of the threaded block pointing to a value
53+
; This is testing for debug value intrinsics outside of the threaded block pointing to a value
5454
; inside to correctly take any new definitions.
5555
define void @test2(i32 %cond1, i32 %cond2) !dbg !5 {
5656
; CHECK: bb.f3

llvm/test/Transforms/SROA/fake-use-sroa.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
; RUN: opt -S -passes=sroa %s | FileCheck %s
2-
; With fake use instrinsics generated for small aggregates, check that when
2+
; With fake use intrinsics generated for small aggregates, check that when
33
; SROA slices the aggregate, we generate individual fake use intrinsics for
44
; the individual values.
55

llvm/unittests/FuzzMutate/RandomIRBuilderTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ TEST(RandomIRBuilderTest, findSourceAndSink) {
487487
ASSERT_TRUE(DT.dominates(Insts[IP - 1], Sink));
488488
}
489489
}
490-
TEST(RandomIRBuilderTest, sinkToInstrinsic) {
490+
TEST(RandomIRBuilderTest, sinkToIntrinsic) {
491491
const char *Source = "\n\
492492
declare double @llvm.sqrt.f64(double %Val) \n\
493493
declare void @llvm.ubsantrap(i8 immarg) cold noreturn nounwind \n\

mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ lowerReductionWithStartValue(ConversionPatternRewriter &rewriter, Location loc,
678678
vectorOperand, fmf);
679679
}
680680

681-
/// Overloaded methods to lower a *predicated* reduction to an llvm instrinsic
681+
/// Overloaded methods to lower a *predicated* reduction to an llvm intrinsic
682682
/// that requires a start value. This start value format spans across fp
683683
/// reductions without mask and all the masked reduction intrinsics.
684684
template <class LLVMVPRedIntrinOp, class ReductionNeutral>

mlir/lib/Target/LLVMIR/ModuleImport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,7 @@ ModuleImport::processDebugIntrinsic(llvm::DbgVariableIntrinsic *dbgIntr,
21802180
return emitError(loc) << "failed to convert a debug intrinsic operand: "
21812181
<< diag(*dbgIntr);
21822182

2183-
// Ensure that the debug instrinsic is inserted right after its operand is
2183+
// Ensure that the debug intrinsic is inserted right after its operand is
21842184
// defined. Otherwise, the operand might not necessarily dominate the
21852185
// intrinsic. If the defining operation is a terminator, insert the intrinsic
21862186
// into a dominated block.

0 commit comments

Comments
 (0)