-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rename mir-opt diff tests with 32/64 bit #76854
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
076e52d
Put bit qualifier before mir/diff
aDotInTheVoid 4f23cec
Rename 64 bit mir files to be more tool friendly
aDotInTheVoid 3c7593e
Rename 32 bit mir files to be more tool friendly
aDotInTheVoid 735776d
Fix --bless for mir-opt 32/64 bit file
aDotInTheVoid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
digraph Mir_0_3 { | ||
graph [fontname="Courier, monospace"]; | ||
node [fontname="Courier, monospace"]; | ||
edge [fontname="Courier, monospace"]; | ||
label=<fn main() -> ()<br align="left"/>>; | ||
bb0__0_3 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">0</td></tr><tr><td align="left" balign="left">_0 = const ()<br/></td></tr><tr><td align="left">goto</td></tr></table>>]; | ||
bb1__0_3 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">1</td></tr><tr><td align="left">resume</td></tr></table>>]; | ||
bb2__0_3 [shape="none", label=<<table border="0" cellborder="1" cellspacing="0"><tr><td bgcolor="gray" align="center" colspan="1">2</td></tr><tr><td align="left">return</td></tr></table>>]; | ||
bb0__0_3 -> bb2__0_3 [label=""]; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<!DOCTYPE html> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also here? |
||
<html> | ||
<head> | ||
<title>coverage_of_if_else - Code Regions</title> | ||
<style> | ||
.line { | ||
counter-increment: line; | ||
} | ||
.line:before { | ||
content: counter(line) ": "; | ||
font-family: Menlo, Monaco, monospace; | ||
font-style: italic; | ||
width: 3.8em; | ||
display: inline-block; | ||
text-align: right; | ||
filter: opacity(50%); | ||
-webkit-user-select: none; | ||
} | ||
.code { | ||
color: #dddddd; | ||
background-color: #222222; | ||
font-family: Menlo, Monaco, monospace; | ||
line-height: 1.4em; | ||
border-bottom: 2px solid #222222; | ||
white-space: pre; | ||
display: inline-block; | ||
} | ||
.odd { | ||
background-color: #55bbff; | ||
color: #223311; | ||
} | ||
.even { | ||
background-color: #ee7756; | ||
color: #551133; | ||
} | ||
.code { | ||
--index: calc(var(--layer) - 1); | ||
padding-top: calc(var(--index) * 0.15em); | ||
filter: | ||
hue-rotate(calc(var(--index) * 25deg)) | ||
saturate(calc(100% - (var(--index) * 2%))) | ||
brightness(calc(100% - (var(--index) * 1.5%))); | ||
} | ||
.annotation { | ||
color: #4444ff; | ||
font-family: monospace; | ||
font-style: italic; | ||
display: none; | ||
-webkit-user-select: none; | ||
} | ||
body:active .annotation { | ||
/* requires holding mouse down anywhere on the page */ | ||
display: inline-block; | ||
} | ||
span:hover .annotation { | ||
/* requires hover over a span ONLY on its first line */ | ||
display: inline-block; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="code" style="counter-reset: line 4"><span class="line"><span class="code" style="--layer: 0">fn main() </span><span><span class="code even" style="--layer: 1" title="0: $DIR/spanview-block.rs:5:11: 5:13: | ||
5:11-5:13: Assign: _0 = const () | ||
5:13-5:13: Goto: goto -> bb2"><span class="annotation">0⦊</span>{}<span class="annotation">⦉0</span></span></span><span><span class="code odd" style="--layer: 1" title="2: $DIR/spanview-block.rs:5:13: 5:13: | ||
5:13-5:13: Return: return"><span class="annotation">2⦊</span>‸<span class="annotation">⦉2</span></span></span></span></div> | ||
</body> | ||
</html> |
67 changes: 67 additions & 0 deletions
67
src/test/mir-opt/spanview_statement.main.mir_map.0.html.mir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>coverage_of_if_else - Code Regions</title> | ||
<style> | ||
.line { | ||
counter-increment: line; | ||
} | ||
.line:before { | ||
content: counter(line) ": "; | ||
font-family: Menlo, Monaco, monospace; | ||
font-style: italic; | ||
width: 3.8em; | ||
display: inline-block; | ||
text-align: right; | ||
filter: opacity(50%); | ||
-webkit-user-select: none; | ||
} | ||
.code { | ||
color: #dddddd; | ||
background-color: #222222; | ||
font-family: Menlo, Monaco, monospace; | ||
line-height: 1.4em; | ||
border-bottom: 2px solid #222222; | ||
white-space: pre; | ||
display: inline-block; | ||
} | ||
.odd { | ||
background-color: #55bbff; | ||
color: #223311; | ||
} | ||
.even { | ||
background-color: #ee7756; | ||
color: #551133; | ||
} | ||
.code { | ||
--index: calc(var(--layer) - 1); | ||
padding-top: calc(var(--index) * 0.15em); | ||
filter: | ||
hue-rotate(calc(var(--index) * 25deg)) | ||
saturate(calc(100% - (var(--index) * 2%))) | ||
brightness(calc(100% - (var(--index) * 1.5%))); | ||
} | ||
.annotation { | ||
color: #4444ff; | ||
font-family: monospace; | ||
font-style: italic; | ||
display: none; | ||
-webkit-user-select: none; | ||
} | ||
body:active .annotation { | ||
/* requires holding mouse down anywhere on the page */ | ||
display: inline-block; | ||
} | ||
span:hover .annotation { | ||
/* requires hover over a span ONLY on its first line */ | ||
display: inline-block; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="code" style="counter-reset: line 4"><span class="line"><span class="code" style="--layer: 0">fn main() </span><span><span class="code even" style="--layer: 1" title="0[0]: $DIR/spanview-statement.rs:5:11: 5:13: | ||
5:11-5:13: Assign: _0 = const ()"><span class="annotation">0[0]⦊</span>{}<span class="annotation">⦉0[0]</span></span></span><span><span class="code odd" style="--layer: 1" title="0:Goto: $DIR/spanview-statement.rs:5:13: 5:13: | ||
5:13-5:13: Goto: goto -> bb2"><span class="annotation">0:Goto⦊</span>‸<span class="annotation">⦉0:Goto</span></span></span><span><span class="code even" style="--layer: 1" title="2:Return: $DIR/spanview-statement.rs:5:13: 5:13: | ||
5:13-5:13: Return: return"><span class="annotation">2:Return⦊</span>‸<span class="annotation">⦉2:Return</span></span></span></span></div> | ||
</body> | ||
</html> |
66 changes: 66 additions & 0 deletions
66
src/test/mir-opt/spanview_terminator.main.mir_map.0.html.mir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>coverage_of_if_else - Code Regions</title> | ||
<style> | ||
.line { | ||
counter-increment: line; | ||
} | ||
.line:before { | ||
content: counter(line) ": "; | ||
font-family: Menlo, Monaco, monospace; | ||
font-style: italic; | ||
width: 3.8em; | ||
display: inline-block; | ||
text-align: right; | ||
filter: opacity(50%); | ||
-webkit-user-select: none; | ||
} | ||
.code { | ||
color: #dddddd; | ||
background-color: #222222; | ||
font-family: Menlo, Monaco, monospace; | ||
line-height: 1.4em; | ||
border-bottom: 2px solid #222222; | ||
white-space: pre; | ||
display: inline-block; | ||
} | ||
.odd { | ||
background-color: #55bbff; | ||
color: #223311; | ||
} | ||
.even { | ||
background-color: #ee7756; | ||
color: #551133; | ||
} | ||
.code { | ||
--index: calc(var(--layer) - 1); | ||
padding-top: calc(var(--index) * 0.15em); | ||
filter: | ||
hue-rotate(calc(var(--index) * 25deg)) | ||
saturate(calc(100% - (var(--index) * 2%))) | ||
brightness(calc(100% - (var(--index) * 1.5%))); | ||
} | ||
.annotation { | ||
color: #4444ff; | ||
font-family: monospace; | ||
font-style: italic; | ||
display: none; | ||
-webkit-user-select: none; | ||
} | ||
body:active .annotation { | ||
/* requires holding mouse down anywhere on the page */ | ||
display: inline-block; | ||
} | ||
span:hover .annotation { | ||
/* requires hover over a span ONLY on its first line */ | ||
display: inline-block; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="code" style="counter-reset: line 4"><span class="line"><span class="code" style="--layer: 0">fn main() {}</span><span><span class="code even" style="--layer: 1" title="0:Goto: $DIR/spanview-terminator.rs:5:13: 5:13: | ||
5:13-5:13: Goto: goto -> bb2"><span class="annotation">0:Goto⦊</span>‸<span class="annotation">⦉0:Goto</span></span></span><span><span class="code odd" style="--layer: 1" title="2:Return: $DIR/spanview-terminator.rs:5:13: 5:13: | ||
5:13-5:13: Return: return"><span class="annotation">2:Return⦊</span>‸<span class="annotation">⦉2:Return</span></span></span></span></div> | ||
</body> | ||
</html> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
accidentally committed file?