diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-10 14:05:11 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-10 14:59:41 +0100 |
| commit | 7d99e80c55486780b59c3b947b20e72344a3bdb2 (patch) | |
| tree | 99519605d4e37af25e9a5ac2e1cc7b67262d036c /tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff | |
| parent | 3521a2f2f317cb978063842485c7d1bc86ec82b6 (diff) | |
| download | rust-7d99e80c55486780b59c3b947b20e72344a3bdb2.tar.gz rust-7d99e80c55486780b59c3b947b20e72344a3bdb2.zip | |
MIR printing: print the path of uneval'd const; refer to promoteds in a consistent way
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff')
| -rw-r--r-- | tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff b/tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff index 7ea53d15733..c2608190a6b 100644 --- a/tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff +++ b/tests/mir-opt/dataflow-const-prop/struct.main.DataflowConstProp.64bit.diff @@ -101,7 +101,7 @@ StorageDead(_6); StorageDead(_5); StorageLive(_10); - _10 = const _; + _10 = const main::SMALL_VAL; StorageLive(_7); - _7 = (_10.0: f32); + _7 = const 4f32; @@ -139,7 +139,7 @@ StorageDead(_17); StorageDead(_16); StorageLive(_22); - _22 = const _; + _22 = const main::BIG_VAL; StorageLive(_19); - _19 = (_22.0: f32); + _19 = const 25f32; |
