Skip to content
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

[compiler][fixtures] test repros: codegen, alignScope, phis #29878

Merged
merged 6 commits into from
Jun 25, 2024

Commits on Jun 12, 2024

  1. [compiler][fixtures] Bug repros: codegen, alignScope, phis

    [ghstack-poisoned]
    mofeiZ committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    2827cbc View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. Update on "[compiler][fixtures] test repros: codegen, alignScope, phis"

    The AlignReactiveScope bug should be simplest to fix, but it's also caught by an invariant assertion. I think a fix could be either keeping track of "active" block-fallthrough pairs (`retainWhere(pair => pair.range.end > current.instr[0].id)`) or following the approach in `assertValidBlockNesting`.
    I'm tempted to pull the value-block aligning logic out into its own pass (using the current `node` tree traversal), then align to non-value blocks with the `assertValidBlockNesting` approach. Happy to hear feedback on this though!
    
    The other two are likely bigger issues, as they're not caught by static invariants.
    
    Update:
    - removed bug-phi-reference-effect as it's been patched by josephsavona
    - added bug-array-concat-should-capture
    
    [ghstack-poisoned]
    mofeiZ committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    bec3735 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Update on "[compiler][fixtures] test repros: codegen, alignScope, phis"

    The AlignReactiveScope bug should be simplest to fix, but it's also caught by an invariant assertion. I think a fix could be either keeping track of "active" block-fallthrough pairs (`retainWhere(pair => pair.range.end > current.instr[0].id)`) or following the approach in `assertValidBlockNesting`.
    I'm tempted to pull the value-block aligning logic out into its own pass (using the current `node` tree traversal), then align to non-value blocks with the `assertValidBlockNesting` approach. Happy to hear feedback on this though!
    
    The other two are likely bigger issues, as they're not caught by static invariants.
    
    Update:
    - removed bug-phi-reference-effect as it's been patched by josephsavona
    - added bug-array-concat-should-capture
    
    [ghstack-poisoned]
    mofeiZ committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    98231bc View commit details
    Browse the repository at this point in the history
  2. Update on "[compiler][fixtures] test repros: codegen, alignScope, phis"

    The AlignReactiveScope bug should be simplest to fix, but it's also caught by an invariant assertion. I think a fix could be either keeping track of "active" block-fallthrough pairs (`retainWhere(pair => pair.range.end > current.instr[0].id)`) or following the approach in `assertValidBlockNesting`.
    I'm tempted to pull the value-block aligning logic out into its own pass (using the current `node` tree traversal), then align to non-value blocks with the `assertValidBlockNesting` approach. Happy to hear feedback on this though!
    
    The other two are likely bigger issues, as they're not caught by static invariants.
    
    Update:
    - removed bug-phi-reference-effect as it's been patched by josephsavona
    - added bug-array-concat-should-capture
    
    [ghstack-poisoned]
    mofeiZ committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    c322f7e View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Update on "[compiler][fixtures] test repros: codegen, alignScope, phis"

    The AlignReactiveScope bug should be simplest to fix, but it's also caught by an invariant assertion. I think a fix could be either keeping track of "active" block-fallthrough pairs (`retainWhere(pair => pair.range.end > current.instr[0].id)`) or following the approach in `assertValidBlockNesting`.
    I'm tempted to pull the value-block aligning logic out into its own pass (using the current `node` tree traversal), then align to non-value blocks with the `assertValidBlockNesting` approach. Happy to hear feedback on this though!
    
    The other two are likely bigger issues, as they're not caught by static invariants.
    
    Update:
    - removed bug-phi-reference-effect as it's been patched by josephsavona
    - added bug-array-concat-should-capture
    
    [ghstack-poisoned]
    mofeiZ committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    e7772bf View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Update on "[compiler][fixtures] test repros: codegen, alignScope, phis"

    The AlignReactiveScope bug should be simplest to fix, but it's also caught by an invariant assertion. I think a fix could be either keeping track of "active" block-fallthrough pairs (`retainWhere(pair => pair.range.end > current.instr[0].id)`) or following the approach in `assertValidBlockNesting`.
    I'm tempted to pull the value-block aligning logic out into its own pass (using the current `node` tree traversal), then align to non-value blocks with the `assertValidBlockNesting` approach. Happy to hear feedback on this though!
    
    The other two are likely bigger issues, as they're not caught by static invariants.
    
    Update:
    - removed bug-phi-reference-effect as it's been patched by josephsavona
    - added bug-array-concat-should-capture
    
    [ghstack-poisoned]
    mofeiZ committed Jun 25, 2024
    Configuration menu
    Copy the full SHA
    eb7e076 View commit details
    Browse the repository at this point in the history