Skip to content

Commit 6ec44c9

Browse files
committed
Fix code formatting.
1 parent 884d951 commit 6ec44c9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

llvm/lib/SYCLLowerIR/LowerESIMD.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,8 +1248,10 @@ SmallPtrSet<Type *, 4> collectGenXVolatileTypes(Module &M) {
12481248
continue;
12491249
auto GTy = dyn_cast<StructType>(PTy->getPointerElementType());
12501250
// TODO FIXME relying on type name in LLVM IR is fragile, needs rework
1251-
if (!GTy || !GTy->getName().rtrim(".0123456789").endswith(
1252-
"cl::sycl::ext::intel::experimental::esimd::simd"))
1251+
if (!GTy ||
1252+
!GTy->getName()
1253+
.rtrim(".0123456789")
1254+
.endswith("cl::sycl::ext::intel::experimental::esimd::simd"))
12531255
continue;
12541256
assert(GTy->getNumContainedTypes() == 1);
12551257
auto VTy = GTy->getContainedType(0);

0 commit comments

Comments
 (0)