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
return_0;
compiler_return_0
Commits
3b64e650
Commit
3b64e650
authored
7 months ago
by
zerolllin
Browse files
Options
Download
Patches
Plain Diff
改优化顺序,展开+并行后返回
parent
38496aef
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/middleend/loop_interchange.cpp
+1
-1
src/middleend/loop_interchange.cpp
with
1 addition
and
1 deletion
+1
-1
src/middleend/loop_interchange.cpp
+
1
−
1
View file @
3b64e650
...
...
@@ -194,7 +194,7 @@ void LoopInterchange::run() {
for
(
auto
&
loop
:
la_
->
loops
)
{
if
(
loop
->
parent_
==
nullptr
)
continue
;
if
(
loop
->
parent_
->
parent_
!=
nullptr
)
continue
;
//
if (loop->child_ == nullptr) continue;
if
(
loop
->
child_
==
nullptr
)
continue
;
// only consider interchange outermost and second outermost loops
auto
outer_info
=
get_interchange_info
(
loop
->
parent_
);
auto
inner_info
=
get_interchange_info
(
loop
);
...
...
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