[MemoryBuiltins] Avoid comparing against Type::getInt8PtrTy(0)
This does not make sense with opaque pointers, and also caused issues for CHERI/Morello where hardcoding address-space zero prevented optimization. Downstream change: https://git.morello-project.org/morello/llvm-project/-/merge_requests/180 Co-authored-by:Silviu Baranga <silviu.baranga@arm.com> Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D139708
parent
1481fcf7
Please register or sign in to comment