Skip to content

Commit 2f58f44

Browse files
authored
[SYCL] Fix post commit fails (#6875)
1. Updated checks to be more be more robust and work when clang discards names of values in the LLVM IR. 2. Added a new symbol to the windows sybmols test.
1 parent cdc6ba8 commit 2f58f44

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sycl/test/abi/sycl_symbols_windows.dump

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@
768768
?get@kernel@_V1@sycl@@QEBAPEAU_cl_kernel@@XZ
769769
?get@platform@_V1@sycl@@QEBAPEAU_cl_platform_id@@XZ
770770
?get@queue@_V1@sycl@@QEBAPEAU_cl_command_queue@@XZ
771+
?getAccData@AccessorBaseHost@detail@_V1@sycl@@QEAAAEAUAccHostDataT@234@XZ
771772
?getAccessRange@AccessorBaseHost@detail@_V1@sycl@@QEAAAEAV?$range@$02@34@XZ
772773
?getAccessRange@AccessorBaseHost@detail@_V1@sycl@@QEBAAEBV?$range@$02@34@XZ
773774
?getAssertHappenedBuffer@queue@_V1@sycl@@AEAAAEAV?$buffer@UAssertHappened@detail@_V1@sycl@@$00V?$aligned_allocator@UAssertHappened@detail@_V1@sycl@@@234@X@23@XZ

sycl/test/basic_tests/accessor/host_acc_opt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
// CHECK: define {{.*}}foo{{.*}} {
1010
// CHECK-NOT: call
1111
// CHECK-NOT: invoke
12-
// CHECK: vector.body:
1312
// CHECK-NOT: call
1413
// CHECK-NOT: invoke
1514
// CHECK: load <4 x i32>
@@ -18,6 +17,7 @@
1817
// CHECK: store <4 x i32>
1918
// CHECK-NOT: call
2019
// CHECK-NOT: invoke
20+
// CHECK: }
2121
void foo(sycl::accessor<int, 1, sycl::access::mode::read_write,
2222
sycl::target::host_buffer> &Acc,
2323
int *Src) {

0 commit comments

Comments
 (0)