Skip to content

GH-135379: Support limited scalar replacement for replicated uops in the JIT code generator. #135563

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Tools/cases_generator/analyzer.py
Co-authored-by: Ken Jin <[email protected]>
  • Loading branch information
markshannon and Fidget-Spinner authored Jun 16, 2025
commit 72aa4a6f510876a3fc7dcdc0610ac58777c81e9c
2 changes: 1 addition & 1 deletion Tools/cases_generator/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def compute_properties(op: parser.CodeDef) -> Properties:
)

def expand(items: list[StackItem], oparg: int) -> list[StackItem]:
# Only replace array item with scalar if no more than item is an array
# Only replace array item with scalar if no more than one item is an array
index = -1
for i, item in enumerate(items):
if "oparg" in item.size:
Expand Down
Loading