Skip to content

llvm.memmove not implemented #45

@newgpudev

Description

@newgpudev

I am encountering code where Clang generates llvm.memmove, and this intrinsic is not implemented. As a workaround, I've temporarily handled llvm.memmove using the same lowering logic as llvm.memcpy, via COPY_BYTES. This isn't semantically correct for overlapping memory regions, but it unblocks compilation for now.

if (shd_string_starts_with(intrinsic, "llvm.memcpy")) {

I added || shd_string_starts_with(intrinsic, "llvm.memmove") inside the if branch.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions