Skip to content

False negative due to possibly incomplete handling of memory(argmem: ...) #1213

@antoniofrighetto

Description

@antoniofrighetto
declare void @f(ptr)

define void @src(ptr %a) {
entry:
  store i32 1, ptr %a, align 4
  call void @f(ptr %a) memory(argmem: readwrite) willreturn
  ret void
}
=>
define void @tgt(ptr %a) {
entry:
  ret void
}
Transformation seems to be correct!

Alive2: https://alive2.llvm.org/ce/z/6oLHgt.

Metadata

Metadata

Assignees

No one assigned

    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