Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-26173-2487151
Compiler2024-OUCC-1353
Commits
9219b6fa
Commit
9219b6fa
authored
10 months ago
by
Jiaqi Yang
Browse files
Options
Download
Patches
Plain Diff
feat: reduce the use of phi. error still exist
parent
d0f46274
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
include/basic_block.hpp
+3
-0
include/basic_block.hpp
include/instruction.hpp
+15
-87
include/instruction.hpp
include/pass.hpp
+6
-0
include/pass.hpp
include/pass_manager.hpp
+15
-3
include/pass_manager.hpp
src/ir/basic_block.cpp
+15
-0
src/ir/basic_block.cpp
src/ir/function.cpp
+4
-0
src/ir/function.cpp
src/ir/instruction.cpp
+122
-1
src/ir/instruction.cpp
src/pass/function_inline.cpp
+3
-2
src/pass/function_inline.cpp
src/pass/reduce_phi.cpp
+48
-0
src/pass/reduce_phi.cpp
with
231 additions
and
93 deletions
+231
-93
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