Closed qiaojbao closed 6 months ago
15df8aacc64dccb8aa69ecc174e9b3cc1474e8f3 Jenkins build error. /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:172:25: error: ‘getWithSamePointeeType’ is not a member of ‘llvm::PointerType’ 172 | return PointerType::getWithSamePointeeType(PtrTy, NewAS); | ^~~~~~ /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp: In function ‘void llvm::replaceAllPointerUses(llvm::IRBuilder<>, llvm::Value, llvm::Value, llvm::SmallVectorImpl<llvm::Instruction>&)’: /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:211:56: error: invalid use of void expression 211 | Inst->mutateType(GetMutatedPtrTy(Inst->getType())); | ^ /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:208:13: warning: unused variable ‘BC’ [-Wunused-variable] 208 | auto BC = cast(Inst); | ^~ /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:219:56: error: invalid use of void expression 219 | Inst->mutateType(GetMutatedPtrTy(Inst->getType())); | ^ /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:227:56: error: invalid use of void expression 227 | Inst->mutateType(GetMutatedPtrTy(Inst->getType())); | ^ /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:233:40: error: void value not ignored as it ought to be 233 | Type NewType = GetMutatedPtrTy(OldType); | ~~~^~~~~ /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:155:16: warning: unused variable ‘OldPtrTy’ [-Wunused-variable] 155 | PointerType *OldPtrTy = cast(OldPointerValue->getType()); | ^~~~
15df8aacc64dccb8aa69ecc174e9b3cc1474e8f3 Jenkins build error. /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:172:25: error: ‘getWithSamePointeeType’ is not a member of ‘llvm::PointerType’ 172 | return PointerType::getWithSamePointeeType(PtrTy, NewAS); | ^(Inst);
| ^~
/jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:219:56: error: invalid use of void expression
219 | Inst->mutateType(GetMutatedPtrTy(Inst->getType()));
| ^
/jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:227:56: error: invalid use of void expression
227 | Inst->mutateType(GetMutatedPtrTy(Inst->getType()));
| ^
/jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:233:40: error: void value not ignored as it ought to be
233 | Type NewType = GetMutatedPtrTy(OldType);
| (OldPointerValue->getType());
| ^
~~~~~ /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp: In function ‘void llvm::replaceAllPointerUses(llvm::IRBuilder<>, llvm::Value, llvm::Value, llvm::SmallVectorImpl<llvm::Instruction>&)’: /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:211:56: error: invalid use of void expression 211 | Inst->mutateType(GetMutatedPtrTy(Inst->getType())); | ^ /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:208:13: warning: unused variable ‘BC’ [-Wunused-variable] 208 | auto BC = cast~~~^~~~~ /jenkins/workspace/vulkan/sanitized-opensource/Github-PR/llpc-github-pr/driver_build/drivers/llpc/shared/continuations/lib/ContinuationsUtil.cpp:155:16: warning: unused variable ‘OldPtrTy’ [-Wunused-variable] 155 | PointerType *OldPtrTy = cast~~~