Skip to content

Commit 922992a

Browse files
authored
Fix typo "instrinsic" (llvm#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

0 commit comments

Comments
 (0)