Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
be3a0b38
Commit
be3a0b38
authored
Jul 08, 2022
by
Paul
Browse files
Format
parent
687cd084
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/partition.cpp
src/partition.cpp
+2
-2
No files found.
src/partition.cpp
View file @
be3a0b38
...
@@ -18,9 +18,9 @@ void partition(program& p,
...
@@ -18,9 +18,9 @@ void partition(program& p,
const
std
::
unordered_map
<
instruction_ref
,
std
::
string
>&
assignments
)
const
std
::
unordered_map
<
instruction_ref
,
std
::
string
>&
assignments
)
{
{
// Group instructions based on label
// Group instructions based on label
// TODO: Recurse traverse submodule from root
// TODO: Recurse traverse submodule from root
for
(
auto
ins
:
iterator_for
(
root
))
for
(
auto
ins
:
iterator_for
(
root
))
{
{
// Rough idea of inserting submodules
// Rough idea of inserting submodules
std
::
string
label
;
std
::
string
label
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment