Skip to content

Conversation

@alexreinking
Copy link
Member

Bounds inference has trouble with the if statements that get shifted into the RDom predicate. We freeze this knowledge in rfactor.

Also delete some duplicated rfactor test configurations.

Fixes #8600

@alexreinking alexreinking requested review from abadams and Copilot April 16, 2025 20:48
@alexreinking
Copy link
Member Author

I'm curious what Copliot makes of this code 🙃

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

test/correctness/rfactor.cpp:1041

  • [nitpick] The loop variable 'y' shadows the Halide Var 'y' declared earlier; consider renaming the loop variable (e.g., to 'row') to avoid confusion.
for (int y = 0; y < 10; ++y) {

test/correctness/rfactor.cpp:1042

  • [nitpick] The loop variable 'x' shadows the Halide Var 'x' declared earlier; consider renaming the loop variable (e.g., to 'col') to improve code clarity.
for (int x = 0; x < 10; ++x) {

@alexreinking alexreinking merged commit 8480bcd into main Apr 17, 2025
11 of 19 checks passed
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.

rfactor now causes out of bounds error.

3 participants