Skip to content

Commit 99b962e

Browse files
committed
Remove CA references under compiler_pipeline and vecz
There are multiple references which are not publicly visible. Remove the ones under compiler_pipeline and vecz as part of this process.
1 parent cfb84d9 commit 99b962e

21 files changed

+30
-35
lines changed

llvm/lib/SYCLNativeCPUUtils/compiler_passes/compiler_pipeline/include/compiler/utils/device_info.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace utils {
3535
///
3636
/// NOTE: Must be kept in sync with mux_floating_point_capabilities_e in
3737
/// mux/include/mux/mux.h! This should probably be placed in an intermediary
38-
/// mux/compiler library and shared as part of CA-4236.
38+
/// mux/compiler library and shared.
3939
enum device_floating_point_capabilities_e {
4040
/// @brief Denormals supported.
4141
device_floating_point_capabilities_denorm = 0x1,

llvm/lib/SYCLNativeCPUUtils/compiler_passes/compiler_pipeline/source/builtin_info.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ BuiltinUniformity BuiltinInfo::isBuiltinUniform(const Builtin &B,
314314
case eMuxBuiltinGetLocalLinearId:
315315
case eMuxBuiltinGetGlobalLinearId:
316316
// TODO: This is fine for vectorizing in the x-axis, but currently we do
317-
// not support vectorizing along y or z (see CA-2843).
317+
// not support vectorizing along y or z.
318318
return SimdDimIdx ? eBuiltinUniformityNever
319319
: eBuiltinUniformityInstanceID;
320320
}

llvm/lib/SYCLNativeCPUUtils/compiler_passes/compiler_pipeline/source/cl_builtin_info.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ Value *CLBuiltinInfo::emitBuiltinInline(Function *F, IRBuilder<> &B,
15331533
NameMangler Mangler(&F->getContext());
15341534
const auto name = Mangler.demangleName(F->getName());
15351535
if (name == "vload_half") {
1536-
// TODO CA-4691 handle "vload_halfn"
1536+
// TODO handle "vload_halfn"
15371537
return emitBuiltinInlineVLoadHalf(F, B, Args);
15381538
}
15391539
} break;
@@ -1551,7 +1551,7 @@ Value *CLBuiltinInfo::emitBuiltinInline(Function *F, IRBuilder<> &B,
15511551
NameMangler Mangler(&F->getContext());
15521552
Lexer L(Mangler.demangleName(F->getName()));
15531553
if (L.Consume("vstore_half")) {
1554-
// TODO CA-4691 handle "vstore_halfn"
1554+
// TODO handle "vstore_halfn"
15551555
return emitBuiltinInlineVStoreHalf(F, L.TextLeft(), B, Args);
15561556
}
15571557
} break;
@@ -1969,7 +1969,7 @@ Value *CLBuiltinInfo::emitBuiltinInlineAsLLVMBinaryIntrinsic(
19691969
const Triple TT(B.GetInsertBlock()->getModule()->getTargetTriple());
19701970
if (TT.getArch() == Triple::arm || TT.getArch() == Triple::aarch64) {
19711971
// fmin and fmax fail CTS on arm targets.
1972-
// This is a HACK and should be removed when CA-3595 is resolved.
1972+
// This is a HACK and should be removed when it is resolved.
19731973
return nullptr;
19741974
}
19751975

llvm/lib/SYCLNativeCPUUtils/compiler_passes/compiler_pipeline/source/mux_builtin_info.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,6 @@ Function *BIMuxInfoConcept::defineMemBarrier(Function &F, unsigned,
531531
// our set of default set of targets can't make use of anything but a
532532
// single-threaded fence. We're also ignoring the kind of memory being
533533
// controlled by the barrier.
534-
// See CA-2997 and CA-3042 for related discussions.
535534
auto &M = *F.getParent();
536535
setDefaultBuiltinAttributes(F);
537536
F.setLinkage(GlobalValue::InternalLinkage);

llvm/lib/SYCLNativeCPUUtils/compiler_passes/compiler_pipeline/source/replace_local_module_scope_variables_pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,6 @@ PreservedAnalyses compiler::utils::ReplaceLocalModuleScopeVariablesPass::run(
696696

697697
// We can't guarantee a subprogram for all functions.
698698
// FIXME: Should we be able to? Do we need to clone subprograms somehow?
699-
// See CA-4241.
700699
if (!DISubprogram) {
701700
continue;
702701
}

llvm/lib/SYCLNativeCPUUtils/compiler_passes/compiler_pipeline/source/unique_opaque_structs_pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static bool shouldClone(compiler::utils::StructTypeRemapper &StructTypeRemapper,
7474
}
7575
}
7676

77-
// TODO: Check globals (see CA-3833).
77+
// TODO: Check globals.
7878

7979
// If an instruction makes use of a type but
8080
// isn't of that type e.g. a cast it will necessarily get caught by

llvm/lib/SYCLNativeCPUUtils/compiler_passes/compiler_pipeline/source/work_item_loops_pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,7 @@ PreservedAnalyses compiler::utils::WorkItemLoopsPass::run(
19211921
// FIXME: Also mark them as internal in case they contain symbols we
19221922
// haven't resolved as part of the work-item loop wrapping process. We
19231923
// rely on GlobalOptPass to remove such functions; this is the same root
1924-
// issue as CA-4126.
1924+
// issue as some mux builtins require DCE for correctness.
19251925
F.setLinkage(GlobalValue::InternalLinkage);
19261926
}
19271927
}

llvm/lib/SYCLNativeCPUUtils/compiler_passes/vecz/source/control_flow_boscc.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ bool ControlFlowConversionState::BOSCCGadget::createUniformRegions(
293293
// take several elements into account:
294294
// - The length of the duplicated code
295295
// - branch probability
296-
// - TODO: CA-1221
297296
// size_t cost =
298297
// std::accumulate(Region->predicatedBlocks.begin(),
299298
// Region->predicatedBlocks.end(), 0,
@@ -352,11 +351,11 @@ bool ControlFlowConversionState::BOSCCGadget::createUniformRegions(
352351
// doesn't seem to matter, as long as we can fully identify the predicated
353352
// subset of the SESE region, so we are really working with Multiple-Entry,
354353
// Single-Exit regions here. This was the cause of the BOSCC Back Door bug
355-
// that was encountered previously (CA-2711), where the entry block of a
354+
// that was encountered previously, where the entry block of a
356355
// supposed SESE region did not actually dominate everything in the region,
357356
// which in this case was caused by an additional non-divergent code path
358357
// (the "back door" entry point), but it is equally possible for two
359-
// divergence-causing branches to enter a predicated region (CA-3194).
358+
// divergence-causing branches to enter a predicated region.
360359
//
361360
// a) A* b) A c) A d) A .
362361
// / \ / \ / \ / \ .
@@ -383,7 +382,7 @@ bool ControlFlowConversionState::BOSCCGadget::createUniformRegions(
383382
// immediate post-dominator of B, the first-encountered divergence causing
384383
// block. Therefore the two overlapping regions have different exit blocks.
385384
//
386-
// Another situation can arise (CA-3851) where the SESE region can contain
385+
// Another situation can arise where the SESE region can contain
387386
// two completely unconnected predicated subregions. Although the DCBI is
388387
// SESE compact, a SESE region can still contain other, nested SESE regions.
389388
// Since an entry point into the predicated subregion is not necessarily the
@@ -648,7 +647,7 @@ bool ControlFlowConversionState::BOSCCGadget::connectBOSCCRegions() {
648647
VECZ_FAIL_IF(!computeBlockOrdering());
649648

650649
// NOTE doing the Liveness Analysis here is potentially dangerous, since we
651-
// have yet to fully restore SSA form (CA-3703).
650+
// have yet to fully restore SSA form.
652651
liveness = &AM.getResult<LivenessAnalysis>(F);
653652
RC->recalculate(F);
654653
VECZ_FAIL_IF(!blendFinalize());

llvm/lib/SYCLNativeCPUUtils/compiler_passes/vecz/source/pass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ PreservedAnalyses RunVeczPass::run(Module &M, ModuleAnalysisManager &MAM) {
112112
} else {
113113
if (auto Err = Mach.getPB().parsePassPipeline(PM, VeczPassPipeline)) {
114114
// NOTE this is a command line user error print, not a debug print.
115-
// We may want to hoist this out of Vecz once CA-4134 is resolved.
115+
// We may want to hoist this out of Vecz once replacing RunVeczPass with
116+
// a passbuilder is resolved.
116117
errs() << "vecz pipeline: " << toString(std::move(Err)) << "\n";
117118
return PreservedAnalyses::all();
118119
}

llvm/lib/SYCLNativeCPUUtils/compiler_passes/vecz/source/transform/basic_mem2reg_pass.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ bool BasicMem2RegPass::canPromoteAlloca(AllocaInst *Alloca) const {
119119
// %v = load i16, ptr %a
120120
// We can only promote the alloca if we can bitcast between the two
121121
// underlying types as well.
122-
// We could probably zero-extend or trunc if we had to? See CA-4382.
122+
// We could probably zero-extend or trunc if we had to?
123123
const unsigned DstPointeeBits = U->getType()->getPrimitiveSizeInBits();
124124
if (!DstPointeeBits || SrcPointeeBits != DstPointeeBits) {
125125
return false;
@@ -213,8 +213,7 @@ bool BasicMem2RegPass::promoteAlloca(AllocaInst *Alloca) const {
213213
// %a = alloca i32
214214
// store i16, ptr %a
215215
// %v = load i32, ptr %a
216-
// Note: we could do other things if the type sizes didn't match. See
217-
// CA-4382.
216+
// Note: we could do other things if the type sizes didn't match.
218217
if (Load->getType()->getPrimitiveSizeInBits() !=
219218
NewValue->getType()->getPrimitiveSizeInBits()) {
220219
return false;

0 commit comments

Comments
 (0)