Skip to content

Commit db5e083

Browse files
committed
Update comment and format
1 parent 766ca16 commit db5e083

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

llvm/lib/SYCLLowerIR/SYCLPropagateAspectsUsage.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,8 @@ void collectVirtualFunctionSetInfo(
657657
}
658658

659659
// For each set S of virtual functions that F declares,
660-
// propagate S through the CG and then
660+
// propagate S through the CG and then add the aspects
661+
// used by S to F.
661662
void processDeclaredVirtualFunctionSets(
662663
Function *F, CallGraphTy &CG, FunctionToAspectsMapTy &AspectsMap,
663664
SmallPtrSet<const Function *, 16> &Visited,

llvm/test/SYCLLowerIR/PropagateAspectsUsage/virtual-functions-1.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ attributes #0 = { "indirectly-callable"="_ZTSv" }
1717
attributes #1 = { "calls-indirectly"="_ZTSv" }
1818

1919
!sycl_aspects = !{!0}
20-
!0 = !{!"fp64", i32 6}
20+
!0 = !{!"fp64", i32 6}

llvm/test/SYCLLowerIR/PropagateAspectsUsage/virtual-functions-2.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ attributes #2 = { "calls-indirectly"="setFoo,setBar" }
3333

3434
!sycl_types_that_use_aspects = !{!1, !2}
3535
!1 = !{!"Foo", i32 1}
36-
!2 = !{!"Bar", i32 2}
36+
!2 = !{!"Bar", i32 2}

llvm/test/SYCLLowerIR/PropagateAspectsUsage/virtual-functions-3.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ attributes #3 = { "calls-indirectly"="setBar" }
4848

4949
!sycl_types_that_use_aspects = !{!1, !2}
5050
!1 = !{!"Foo", i32 1}
51-
!2 = !{!"Bar", i32 2}
51+
!2 = !{!"Bar", i32 2}

0 commit comments

Comments
 (0)