diff options
| author | dianqk <dianqk@dianqk.net> | 2025-07-10 21:20:54 +0800 |
|---|---|---|
| committer | dianqk <dianqk@dianqk.net> | 2025-10-02 14:55:50 +0800 |
| commit | cc93132ae4f5477297ecddb0c07d2e8c74075f0c (patch) | |
| tree | 7ae08a515e4ff846cdcbaa67b557a40fb169500c /tests/mir-opt/debuginfo/simplifycfg.drop_debuginfo.SimplifyCfg-final.diff | |
| parent | 571412f8190089c36758031fe09fc0ece59be6b7 (diff) | |
| download | rust-cc93132ae4f5477297ecddb0c07d2e8c74075f0c.tar.gz rust-cc93132ae4f5477297ecddb0c07d2e8c74075f0c.zip | |
simplifycfg: Preserve debuginfos when merging bbs
Diffstat (limited to 'tests/mir-opt/debuginfo/simplifycfg.drop_debuginfo.SimplifyCfg-final.diff')
| -rw-r--r-- | tests/mir-opt/debuginfo/simplifycfg.drop_debuginfo.SimplifyCfg-final.diff | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mir-opt/debuginfo/simplifycfg.drop_debuginfo.SimplifyCfg-final.diff b/tests/mir-opt/debuginfo/simplifycfg.drop_debuginfo.SimplifyCfg-final.diff index d4a73351ee4..7a1ac92f6dd 100644 --- a/tests/mir-opt/debuginfo/simplifycfg.drop_debuginfo.SimplifyCfg-final.diff +++ b/tests/mir-opt/debuginfo/simplifycfg.drop_debuginfo.SimplifyCfg-final.diff @@ -14,11 +14,13 @@ - - bb1: { - // DBG: _3 = &((*_1).0: i32); +- nop; - goto -> bb2; - } - - bb2: { // DBG: _4 = &((*_1).1: i64); +- nop; _0 = copy ((*_1).2: i32); return; } |
