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
一刻也没有为段错误而哀悼
Compiler2024-riscv
Commits
b611a65a
Commit
b611a65a
authored
10 months ago
by
my2002
Browse files
Options
Download
Plain Diff
Merge branch 'riscv' of github.com:segfault-compiler/segfault-compiler into riscv
parents
49e42194
b1271ed0
submit
bisect
save
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/passes/PassBuilder.cpp
+1
-3
src/passes/PassBuilder.cpp
with
1 addition
and
3 deletions
+1
-3
src/passes/PassBuilder.cpp
+
1
−
3
View file @
b611a65a
...
...
@@ -78,9 +78,7 @@ bool PassBuilder::parsePipeline(std::string pipeline, OptimizationLevel opt) {
return
false
;
}
if
(
opt
<=
OptimizationLevel
::
O0
)
{
return
true
;
}
else
if
(
opt
<=
OptimizationLevel
::
O1
)
{
if
(
opt
>=
OptimizationLevel
::
O1
)
{
collectPass
(
"DeadCode"
,
"FuncInline"
,
"DeadCode"
,
"SimplifyCFG"
,
"DeadCode"
,
"Mem2Reg"
,
"ConstProp"
,
"DeadCode"
,
"GVN"
,
"DeadCode"
,
"LICM"
,
"LoopUnrolling"
,
"DeadCode"
);
...
...
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