Skip to content

Commit f605df6

Browse files
authored
[SYCL] Remove unused NativeCPUGlobalAS (#11513)
This will causing warning and become error when building with -Werror.
1 parent 4ed6839 commit f605df6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/SYCLLowerIR/PrepareSYCLNativeCPU.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ static Value *getStateArg(Function *F, llvm::Constant *StateTLS) {
261261
return F->getArg(FT->getNumParams() - 1);
262262
}
263263

264-
static constexpr unsigned int NativeCPUGlobalAS = 1;
265264
static inline bool IsNativeCPUKernel(const Function *F) {
266265
return F->getCallingConv() == llvm::CallingConv::SPIR_KERNEL;
267266
}

0 commit comments

Comments
 (0)