EnzymeAD / EnzymeAD/Enzyme-JAX

Mark ptrs as `llvm.nocapture`

Open
#1,442 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MLIR
Stars
133
Forks
53
Avg merge
1d 10h
Merged PRs (30d)
193

Description

potentially a follow up pr, but nocapture is likely to be immensely useful too [aka, for a pointer/memref input, it isn't stored or returned]

_Originally posted by @wsmoses in https://github.com/EnzymeAD/Enzyme-JAX/pull/1439#discussion_r2396717528_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the discussion in PR 1439, which identifies pointer or memref inputs as the relevant entry point. No file or test is named, so locate where LLVM attributes are emitted and determine how to verify that inputs which are not stored or returned receive llvm.nocapture.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.