Skip to content

convert tt.ptr to ptr && tptr - #17

Open
enjustli wants to merge 8 commits into
facebookincubator:mainfrom
enjustli:dev_ptr
Open

convert tt.ptr to ptr && tptr#17
enjustli wants to merge 8 commits into
facebookincubator:mainfrom
enjustli:dev_ptr

Conversation

@enjustli

@enjustli enjustli commented Apr 3, 2026

Copy link
Copy Markdown
Contributor
  1. add tptr.from_ptr op, due to ptr.from_ptr dose not support pure pointer
  2. add tptr.bitcast op
  3. rename inttoptr/ptrtoint -> int_to_ptr/ptr_to_int
  4. add llvm conversion patterns
  5. rm tptr.default_memory_space
  6. replace func arg memref type with ptr.ptr type, and adjust driver.py
  7. enable test_constexpr in test_core.py

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 3, 2026
@enjustli enjustli changed the title Dev ptr integrate the ptr dialect Apr 3, 2026
@enjustli enjustli changed the title integrate the ptr dialect convert tt.ptr to ptr && tptr Apr 3, 2026
@enjustli
enjustli force-pushed the dev_ptr branch 2 times, most recently from 30aef39 to e28d8aa Compare April 4, 2026 15:47
@enjustli

enjustli commented Apr 5, 2026

Copy link
Copy Markdown
Contributor Author

some changes have been submitted upstream. see llvm/llvm-project#190527

@enjustli

enjustli commented Apr 5, 2026

Copy link
Copy Markdown
Contributor Author

@nhat-nguyen

@enjustli

enjustli commented Apr 7, 2026

Copy link
Copy Markdown
Contributor Author

some changes have been submitted upstream. see llvm/llvm-project#190527

they do not accept it.

@enjustli
enjustli marked this pull request as draft May 9, 2026 09:15
@enjustli
enjustli marked this pull request as ready for review May 11, 2026 15:22
Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant