Skip to content

Commit f362bc9

Browse files
committed
Add TODO comment
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 6c128ef commit f362bc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/SYCLLowerIR/CompileTimePropertiesPass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ attributeToExecModeMetadata(const Attribute &Attr, Function &F) {
274274
if ((AttrKindStr == SYCL_REGISTER_ALLOC_MODE_ATTR ||
275275
AttrKindStr == SYCL_GRF_SIZE_ATTR) &&
276276
!llvm::esimd::isESIMD(F)) {
277+
// TODO: Remove SYCL_REGISTER_ALLOC_MODE_ATTR support in next ABI break.
277278
uint32_t PropVal = getAttributeAsInteger<uint32_t>(Attr);
278279
if (AttrKindStr == SYCL_GRF_SIZE_ATTR) {
279280
assert((PropVal == 0 || PropVal == 128 || PropVal == 256) &&

0 commit comments

Comments
 (0)