Skip to content

Updated slices validations in the compiler #877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dgomezTT
Copy link
Contributor

Updated step validations, now different than 1 is a valid scenario. Since the compiler already fills with 1 when the array is empty, we can assume that will be always equals or bigger than 1

Ticket

Link to Github Issue

Problem description

Metal updated it's code, allowing slices bigger than 1

What's changed

Updated the compiler code to be compatible with this new validation

Copy link
Collaborator

@jmalone-tt jmalone-tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, thank you!

@ayerofieiev-tt
Copy link
Member

PR title becomes a commit message, let’s make it clear that it’s about slices

@dgomezTT dgomezTT changed the title Updated step validations in the compiler Updated slices validations in the compiler Mar 31, 2025
@dgomezTT dgomezTT enabled auto-merge March 31, 2025 20:19
@dgomezTT dgomezTT force-pushed the dgomeztt/slide-validation branch from cb43ae0 to 9cbbad7 Compare March 31, 2025 20:58
@dgomezTT dgomezTT added this pull request to the merge queue Mar 31, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 31, 2025
@dgomezTT dgomezTT added this pull request to the merge queue Apr 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2025
@dgomezTT dgomezTT force-pushed the dgomeztt/slide-validation branch from 9cbbad7 to 61e95c4 Compare April 1, 2025 14:50
@dgomezTT dgomezTT enabled auto-merge April 1, 2025 14:50
@dgomezTT dgomezTT added this pull request to the merge queue Apr 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2025
@dgomezTT dgomezTT force-pushed the dgomeztt/slide-validation branch from 61e95c4 to 22774f4 Compare April 1, 2025 18:14
@dgomezTT dgomezTT enabled auto-merge April 1, 2025 18:15
@dgomezTT dgomezTT added this pull request to the merge queue Apr 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2025
@dgomezTT dgomezTT added this pull request to the merge queue Apr 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2025
@dgomezTT dgomezTT force-pushed the dgomeztt/slide-validation branch from 22774f4 to fc8e875 Compare April 2, 2025 13:01
@dgomezTT dgomezTT added this pull request to the merge queue Apr 2, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 2, 2025
@dgomezTT dgomezTT force-pushed the dgomeztt/slide-validation branch from fc8e875 to 164d179 Compare April 3, 2025 13:12
@dgomezTT dgomezTT enabled auto-merge April 3, 2025 13:12
@dgomezTT dgomezTT added this pull request to the merge queue Apr 3, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 3, 2025
@dgomezTT dgomezTT force-pushed the dgomeztt/slide-validation branch from 164d179 to cd6e059 Compare April 3, 2025 20:55
dgomezTT added 2 commits April 7, 2025 09:05
…piler already fills with 1 when the array is empty, we can assume that will be always equals or bigger than 1
@dgomezTT dgomezTT force-pushed the dgomeztt/slide-validation branch from cd6e059 to 909a98a Compare April 7, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants