7876 Commits
Author SHA1 Message Date
Arina Neshlyaeva c2d88669f2 Bump ISPC version to 1.31.0dev 2026-02-04 15:14:54 -08:00
Arina Neshlyaeva 8643c33c1e Remove deprecation warning for sse2 targets 2026-02-04 15:14:54 -08:00
Arina Neshlyaeva 41ea768895 Revert "CI: allow Coverity to run on release branches"
This reverts commit 987e32d999.
2026-02-04 15:14:54 -08:00
Arina Neshlyaeva 813a35dd9a Revert "Update .github/workflows/coverity.yml"
This reverts commit c88ad19d32.
2026-02-04 15:14:54 -08:00
Arina NeshlyaevaandClaude Opus 4.5 0c02c09dfe Fix v1.30.0 and trunk Ubuntu 18.04 Docker build on ARM64 by building TBB from source
Intel oneAPI TBB apt packages are only available for x86. On ARM64,
build TBB v2021.13.0 from source to provide a compatible version
that works with LLVM 21+ (avoiding enum-constexpr-conversion errors).

Also move cmake installation before TBB build since TBB needs cmake.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

to aarch64
2026-02-04 15:14:54 -08:00
Arina Neshlyaeva 02f98820ad Release notes for 1.30.0 2026-02-03 11:04:53 -08:00
Arina Neshlyaeva fa179fe99e Add info about Claude usage to CONTRIBUTING.md 2026-02-03 11:04:53 -08:00
Arina Neshlyaeva f829470f60 Update docs for v1.30.0 2026-02-03 11:04:53 -08:00
Arina Neshlyaeva 123a5b0bc7 Add release docker for v1.30.0 2026-02-03 11:04:53 -08:00
Arina Neshlyaeva a4cb3f7167 Update FAQ 2026-02-03 11:04:53 -08:00
Arina NeshlyaevaandClaude Opus 4.5 177250e01a CI: Fix allowed_tools patterns in Claude workflow
Fix patterns that were too restrictive:
- Add space before * in Bash patterns (git * not git)
- Add *cmake * pattern to match TEST=... cmake commands
- Add */ispc * pattern to match build/bin/ispc
- Add ./build/* for relative paths
- Add missing tools: gh, python3, curl, jq, touch, wc, pwd, which, realpath

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 18:49:09 -08:00
Arina Neshlyaeva aabb8294d3 Fix backward tests 2026-01-31 18:49:09 -08:00
Arina Neshlyaeva 24f8456fef Add ispc-builtins skill for working with builtin files
Add a new skill that documents:
- Hierarchical target system and targetParentMap
- How builtin linking works (child inherits from parent)
- File structure for builtins directory
- Steps for creating/modifying builtins
- Testing builtins with --debug-phase

Also add reference to the skill in CLAUDE.md common workflows.
2026-01-30 13:39:44 -08:00
Arina NeshlyaevaandClaude Opus 4.5 333ad978d8 CI: Add allowed_tools to Claude workflow for build/test operations
Add explicit allowed_tools parameter to enable Claude to run cmake,
clang-format, LLVM tools, and common file operations without manual
approval in CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 13:39:44 -08:00
Zwolski, Antoni 10f8586f57 CI: Add free disk space step to aarch64 release pipeline job 2026-01-30 10:47:15 -08:00
Arina NeshlyaevaandClaude Opus 4.5 4f80a7742f Fix #3544: optimize backward memory access patterns to contiguous ops
Backward memory access patterns like dst[size-1-i] were generating
inefficient scatter/gather operations. This change transforms them
into contiguous load/store operations with a vector shuffle (reverse).

Changes:
- Extended lVectorIsLinear() to recognize negative stride patterns
  (uniform - programIndex) in subtraction operations
- Fixed lCheckShlForLinear() and lCheckMulForLinear() to handle
  negative strides using absolute value comparison
- Added lReverseVector() helper to create shuffle for vector reversal
- Added lComputeCommonPointerForNegativeStride() to compute base
  pointer from the last (lowest address) element
- Modified lGSToLoadStore() to handle negative strides:
  - For scatter: reverse data vector, then store contiguously
  - For gather: load contiguously, then reverse result
- Safety: only optimize when mask is all-on (full vector iterations)
  to avoid complex partial mask pointer calculations

Performance: ~5-10x speedup for backward access patterns by replacing
scatter/gather with contiguous memory ops + cheap shuffle.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 08:47:11 -08:00
Antoni Zwolski c2bf5ef2bc Fix REQUIRE typo in 3081.ispc 2026-01-29 14:31:17 -08:00
Antoni Zwolski 4ca1d49d08 Require LLVM_20_0+ for 3081.ispc 2026-01-29 14:31:17 -08:00
Antoni Zwolski 609fe53790 Remove XFAIL annotation from 3081.ispc test 2026-01-29 14:31:17 -08:00
Antoni Zwolski c421a39d3e Add lit test verifying limited canonicalization 2026-01-29 14:31:17 -08:00
Ivan Kelarev c5eb16e458 Replace dots with underscores in avx10.2dmr target function suffix
Fixes #3723.
2026-01-29 13:46:48 -08:00
Arina NeshlyaevaandClaude Opus 4.5 5eea16ecfa Add AMX documentation to ispc.rst
- Add "Updating ISPC Programs For Changes In ISPC 1.30.0" section
  describing the new AMX stdlib support
- Add "Intel AMX (Advanced Matrix Extensions)" section after "Dot product"
  documenting tile configuration, data operations, and dot product functions
- Add table of contents entry for the new AMX section

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 13:04:02 -08:00
Arina NeshlyaevaandClaude Opus 4.5 3f6e9ea438 Make pattern-finder agent mandatory in code-review process
Add explicit requirement to spawn pattern-finder agent as the first
step in the code review process to ensure consistency checking.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 13:04:02 -08:00
Arina NeshlyaevaandClaude Opus 4.5 e2622b1379 Add additional AMX lit tests for better coverage
- Add test for tile ID boundary (tile 7 is maximum valid value)
- Add test for invalid tile ID error (tile 8 is out of range)
- Add test for constants through multiple single-predecessor blocks

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 13:04:02 -08:00
Arina NeshlyaevaandClaude Opus 4.5 a4c0da9ce5 Fix typo in CMakeLists.txt comment: amx.h -> amx.isph
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 13:04:02 -08:00
Arina Neshlyaeva eb5dc73ced Extend constant propagation analysis in predecessor blocks 2026-01-29 13:04:02 -08:00
Arina Neshlyaeva b4f28b2b39 Use uint8 type for tiles 2026-01-29 13:04:02 -08:00
Arina Neshlyaeva 88a3b14c6c Add functional tests 2026-01-29 13:04:02 -08:00
Arina Neshlyaeva ae06f3ef84 Implement proper error reporting 2026-01-29 13:04:02 -08:00
Arina Neshlyaeva 66ea7f227e Rename some amx functions and declare them in builtins 2026-01-29 13:04:02 -08:00
Arina Neshlyaeva 8f2c6d5389 Extend lit tests for AMX 2026-01-29 13:04:02 -08:00
Arina Neshlyaeva e6350e8079 Add trivial constant propagation to LowerAMXBuiltinsPass.cpp 2026-01-29 13:04:02 -08:00
Arina Neshlyaeva 8df7fb9d1f Fix installation of amx.h and rename target utils file 2026-01-29 13:04:02 -08:00
Arina Neshlyaeva bb3989bf14 [AMX][Builtins] Add support to expose LLVM X86 AMX intrinsics as ISPC stdlib functions. 2026-01-29 13:04:02 -08:00
dependabot[bot] bd495f4e97 ci: bump github/codeql-action in the ga-dependencies group
Bumps the ga-dependencies group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 4.31.0 to 4.32.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/4e94bd11f71e507f7f87df81788dff88d1dacbfb...b20883b0cd1f46c72ae0ba6d1090936928f9fa30)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ga-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 19:29:59 -08:00
Arina Neshlyaeva 5899703838 CI: update apt commands in RK workflows 2026-01-28 18:51:26 -08:00
Arina Neshlyaeva 60243778f5 CI: extend RK superbuild workflow 2026-01-28 18:51:26 -08:00
azwolski c88ad19d32 Update .github/workflows/coverity.yml 2026-01-28 09:50:31 -08:00
Zwolski, AntoniandClaude Opus 4.5 0eb1536932 CI: fix Arch Linux keyring trust issue
Re-populate keyring after updating archlinux-keyring package
to trust new signing keys.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 09:50:31 -08:00
Zwolski, AntoniandClaude Opus 4.5 9884589f94 CI: remove trunk from install scripts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 09:50:31 -08:00
Zwolski, AntoniandClaude Opus 4.5 8d6f777034 CI: remove trunk from workflow scripts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 09:50:31 -08:00
Zwolski, AntoniandClaude Opus 4.5 956027b30f CI: remove trunk from artifact paths
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 09:50:31 -08:00
Zwolski, AntoniandClaude Opus 4.5 987e32d999 CI: allow Coverity to run on release branches
Extend COVERITY_SCAN_BRANCH_PATTERN to match both main and releases/*
branches, enabling Coverity static analysis for release branches.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 09:50:31 -08:00
Arina NeshlyaevaandClaude Opus 4.5 0c2222ac32 CI: Pin Rust installation to use dtolnay/rust-toolchain action
Replace insecure `curl | sh` pattern with pinned GitHub Action to
address OSSF Scorecard security finding (code-scanning alert #124).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 10:59:42 -08:00
Arina NeshlyaevaandClaude Opus 4.5 66103bc3f7 CI: Use reusable workflow for Claude trigger
Events triggered by GITHUB_TOKEN (like issue_comment) don't create new
workflow runs due to GitHub's security restrictions. This caused the
automatic Claude fix request to fail when triggered from the analyzer.

Changes:
- Add workflow_call and workflow_dispatch triggers to claude.yml
- Add author_association checks (OWNER/MEMBER) for security
- Change analyzer to call claude.yml as reusable workflow via workflow_call
- Use secrets: inherit to pass ANTHROPIC_API_KEY and GITHUB_TOKEN

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-27 10:59:42 -08:00
Arina Neshlyaeva 7c0fc94945 Claude: add settings.json 2026-01-27 10:59:42 -08:00
Arina Neshlyaeva 235760115d CI: Fix shell syntax error in llvm-trunk-failure-analyzer workflow 2026-01-27 10:59:42 -08:00
Arina Neshlyaeva 505d797157 CI: add build/run of ispc-downsampler 2026-01-26 16:27:48 -08:00
Arina Neshlyaeva e7fafbe76a Add lit test for #3537 2026-01-26 16:27:48 -08:00
Arina Neshlyaeva 94f5833a8a Update lit tests 2026-01-26 16:27:48 -08:00