summaryrefslogtreecommitdiff
path: root/zjit/src/bitset.rs
AgeCommit message (Collapse)Author
2025-09-03ZJIT: Ensure `clippy` passes and silence unnecessary warnings (#14439)Aiden Fox Ivey
2025-09-03ZJIT: Add missing module doc commentsAiden Fox Ivey
2025-07-10ZJIT: Add def-use validator via dataflow analysis (#13814)Ken Jin
This PR adds a validator based on dataflow analysis to ZJIT. It checks that all uses are dominated by a GEN-DEF prior. See issue https://github.com/Shopify/ruby/issues/591 This is especially useful in validating optimizations don't zap away instructions that are actually needed, e.g. DCE. Also included: a slight refactor of the DCE code to its own function, so I can reuse it. Note: the algorithm uses the worklist algorithm rather than the iterative version for faster convergence. Co-Authored-By: Max Bernstein <ruby@bernsteinbear.com>
2025-07-08ZJIT: Add a BitSet typeMax Bernstein