Closed maarquitos14 closed 1 month ago
@maarquitos14 please check the build failure: "Translator/lib/SPIRV/SPIRVToLLVMDbgTran.cpp:499:56: error: ‘bit_ceil’ is not a member of ‘llvm’ 499 | uint64_t Size = getDerivedSizeInBits(BaseTy) * llvm::bit_ceil(Count);"
llvm::bit_ceil was introduced in LLVM 16, and std::bit_ceil requires C++20. Should I implement our own bit_ceil function for backports to 14 and 15?
@maarquitos14 please check the build failure: "Translator/lib/SPIRV/SPIRVToLLVMDbgTran.cpp:499:56: error: ‘bit_ceil’ is not a member of ‘llvm’ 499 | uint64_t Size = getDerivedSizeInBits(BaseTy) * llvm::bit_ceil(Count);"