Auto merge of #110824 - cjgillot:const-prop-index, r=JakobDegen,oli-obk

ConstProp into PlaceElem::Index.

Noticed this while looking at keccak output MIR.

This pass aims to replace `ProjectionElem::Index` with `ProjectionElem::ConstantIndex` during ConstProp.

r? `@ghost`
This commit is contained in:
bors 2023-05-08 14:23:13 +00:00
commit 01b767a01c

Diff content is not available