File tree Expand file tree Collapse file tree
llvm/lib/SYCLNativeCPUUtils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ endif()
3434if (NATIVECPU_USE_OCK)
3535 if (NATIVECPU_OCK_USE_FETCHCONTENT)
3636 set (OCK_GIT_INTERNAL_REPO "https://github.com/uxlfoundation/oneapi-construction-kit.git" )
37- # commit 4e4811a9b4945088667e1a1653742ffdf84e5168
38- # Merge: b347adff05 0101b4ff40
37+ # commit 007a4924129ef49ca8793631d28ae343f6ba6d24
38+ # Merge: 0135b8d586 9ed4bddff1
3939 # Author: Harald van Dijk <harald.vandijk@codeplay.com>
40- # Date: Wed Jun 4 13:17:16 2025 +0100
40+ # Date: Wed Jun 11 16:45:25 2025 +0100
4141 #
42- # Merge pull request #854 from hvdijk/avoid-computeknownbits
42+ # Merge pull request #864 from hvdijk/llvm21-createelementcount
4343 #
44- # [LLVM 21] Avoid computeKnownBits .
45- set (OCK_GIT_INTERNAL_TAG 4e4811a9b4945088667e1a1653742ffdf84e5168 )
44+ # [LLVM 21] Remove VectorizationFactor, use CreateElementCount .
45+ set (OCK_GIT_INTERNAL_TAG 007a4924129ef49ca8793631d28ae343f6ba6d24 )
4646
4747 # Overwrite OCK_GIT_INTERNAL_REPO/OCK_GIT_INTERNAL_TAG if the corresponding options are set
4848 if (OCK_GIT_REPO)
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ void llvm::sycl::utils::addSYCLNativeCPUBackendPasses(
8484 if (F.getCallingConv () != llvm::CallingConv::SPIR_KERNEL) {
8585 return false ;
8686 }
87- compiler::utils::VectorizationFactor VF (NativeCPUVeczWidth, false );
87+ auto VF = llvm::ElementCount::getFixed (NativeCPUVeczWidth);
8888 vecz::VeczPassOptions VPO;
8989 VPO.factor = std::move (VF);
9090 Opts.emplace_back (std::move (VPO));
You can’t perform that action at this time.
0 commit comments