Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
CompilerHIT
Compiler2023
Commits
f45280dd
Commit
f45280dd
authored
1 year ago
by
CompilerHIT
Browse files
Options
Download
Patches
Plain Diff
一些杂项修改,无关紧要
parent
555618d4
master
basealloc
change_inst_structure
check36_39
check39
checkdef
commit_test
commit_test2
fixindex
gvn-opt
hc
para
peelhole
test39
tmp
yjh
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ir/dump_ir.rs
+0
-1
src/ir/dump_ir.rs
src/main.rs
+3
-4
src/main.rs
with
3 additions
and
5 deletions
+3
-5
src/ir/dump_ir.rs
+
0
−
1
View file @
f45280dd
...
...
@@ -653,7 +653,6 @@ fn dump_inst(
.as_str
();
}
}
BinOp
::
And
|
BinOp
::
Or
=>
{}
},
InstKind
::
Unary
(
op
)
=>
{
// 指令替换
...
...
This diff is collapsed.
Click to expand it.
src/main.rs
+
3
−
4
View file @
f45280dd
...
...
@@ -61,15 +61,14 @@ fn run_main() {
&
mut
pool_bb
,
&
mut
pool_func
,
);
// ir打印
sysylib
::
ir
::
dump_now
(
&
module
);
drop
(
compunit
);
// ir优化
sysylib
::
ir
::
optimizer_run
(
&
mut
module
,
o1_option
);
// ir打印
sysylib
::
ir
::
dump_now
(
&
module
);
let
output2
=
matches
.value_of
(
"o"
)
.unwrap_or
(
"row_asm.log"
);
// 后端解析
generate_asm
(
filename
,
output
,
output2
,
&
mut
AsmModule
::
new
(
&
module
));
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets