Implement negative indices for ndarrays #395

Merged
sb10q merged 3 commits from enhance/issue-149-ndarray/neg-indexing into master 2024-04-15 15:03:04 +08:00
Collaborator
  • Add gen_if* family of codegen functions for conditional branches
  • Implement negative indices for index operator
- Add `gen_if*` family of codegen functions for conditional branches - Implement negative indices for index operator
derppening added 3 commits 2024-04-15 12:48:57 +08:00
e7fca67786 core/stmt: Do not generate jumps if bb is already terminated
Future-proofs gen_*_callback functions in case other codegen functions
will delegate to it in the future.
f0715e2b6d core/stmt: Add gen_if* functions
For generating if-constructs in IR.
derppening force-pushed enhance/issue-149-ndarray/neg-indexing from 6a93984c90 to e0f440040c 2024-04-15 12:50:09 +08:00 Compare
derppening requested review from sb10q 2024-04-15 12:50:52 +08:00
sb10q merged commit e0f440040c into master 2024-04-15 15:03:04 +08:00
sb10q deleted branch enhance/issue-149-ndarray/neg-indexing 2024-04-15 15:03:04 +08:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#395
There is no content yet.