Commit e96ddad8 authored by Alex Richardson's avatar Alex Richardson
Browse files

[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: default avatarSilviu Baranga <silviu.baranga@arm.com>

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D139708
parent 1481fcf7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment