Skip to content

Commit

Permalink
Auto merge of #115705 - cjgillot:const-prop-aggregate, r=oli-obk
Browse files Browse the repository at this point in the history
Read from non-scalar constants and statics in dataflow const-prop

DataflowConstProp is designed to handle scalar values. When MIR features an assignment from a non-scalar constant, we need to manually decompose it into the custom state space.

This PR tweaks interpreter callbacks to allow reusing `eval_mir_constant` without having a stack frame to get a span from.

r? `@oli-obk`
cc `@jachris`
  • Loading branch information
bors committed Sep 12, 2023
2 parents e552cd0 + ac45ff9 commit ba3d54b
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit ba3d54b

Please sign in to comment.